lib/espeak/speech.rb
def bytes()
      speech = bytes_wav
      res = IO.popen(std_lame_command(command_options), 'r+') do |process|
        process.write(speech)
        process.close_write
        process.read
      end
      res.to_s
    end
# Returns mp3 file bytes as a result of
# Text-To-Speech conversion.
#
Returns mp3 file bytes as a result of
Text-To-Speech conversion.
Returns mp3 file bytes as a result of Text - To - Speech conversion .
def bytes()
      speech = bytes_wav
      res = IO.popen(std_lame_command(command_options), 'r+') do |process|
        process.write(speech)
        process.close_write
        process.read
      end
      res.to_s
    end
def bytes ( ) speech = bytes_wav res = IO . popen ( std_lame_command ( command_options ) , 'r+' ) do | process | process . write ( speech ) process . close_write process . read end res . to_s end
Returns mp3 file bytes as a result of
Text-To-Speech conversion.
Returns mp3 file bytes as a result of Text - To - Speech conversion .