Class ESpeak::Speech
In: lib/espeak/speech.rb
Parent: Object

Methods

bytes   bytes_wav   new   sanitized_text   save   speak  

Attributes

options  [R] 
text  [R] 

Public Class methods

filename - The file that will be generated options - Posible key, values

   :voice     - use voice file of this name from espeak-data/voices. ie 'en', 'de', ...
   :pitch     - pitch adjustment, 0 to 99
   :speed     - speed in words per minute, 80 to 370
   :quiet     - remove printing to stdout. Affects only lame (default false)

Public Instance methods

Returns mp3 file bytes as a result of Text-To-Speech conversion.

Returns wav file bytes as a result of Text-To-Speech conversion.

espeak dies handling some chars this function sanitizes text

Generates mp3 file as a result of Text-To-Speech conversion.

Speaks text

[Validate]