Module: FreeTTS
- Defined in:
- lib/freetts/voice.rb,
lib/freetts/freetts.rb,
lib/freetts/version.rb
Defined Under Namespace
Classes: Voice
Constant Summary collapse
- VERSION =
"0.2.2"
Class Attribute Summary collapse
Class Method Summary collapse
Class Attribute Details
.current_voice ⇒ Object
5 6 7 |
# File 'lib/freetts/freetts.rb', line 5 def current_voice @current_voice ||= Voice.for_name(Voice::DEFAULT_NAME) end |
Class Method Details
.speak(speakable) ⇒ Object
9 10 11 |
# File 'lib/freetts/freetts.rb', line 9 def speak(speakable) current_voice.speak(speakable) end |