Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/flite.rb
Instance Method Summary collapse
-
#speak ⇒ Object
Speaks
self
. -
#to_speech(audio_type = :wave, opts = {}) ⇒ String
Converts
self
to audio data.
Instance Method Details
#speak ⇒ Object
Speaks self
73 74 75 |
# File 'lib/flite.rb', line 73 def speak Flite.default_voice.speak(self) end |
#to_speech(audio_type = :wave, opts = {}) ⇒ String
98 99 100 |
# File 'lib/flite.rb', line 98 def to_speech(*args) Flite.default_voice.to_speech(self, *args) end |