Class: Blastr::TTS::Festival
- Inherits:
-
TTSImplementation
- Object
- TTSImplementation
- Blastr::TTS::Festival
- Defined in:
- lib/tts/tts.rb
Instance Attribute Summary
Attributes inherited from TTSImplementation
Instance Method Summary collapse
-
#initialize ⇒ Festival
constructor
A new instance of Festival.
- #speak(msg) ⇒ Object
Methods inherited from TTSImplementation
Constructor Details
#initialize ⇒ Festival
Returns a new instance of Festival.
42 |
# File 'lib/tts/tts.rb', line 42 def initialize; super("festival"); end |
Instance Method Details
#speak(msg) ⇒ Object
43 44 45 |
# File 'lib/tts/tts.rb', line 43 def speak(msg) %x[echo "#{msg}" | #{binary} --tts] end |