Class: Blastr::TTS::Festival

Inherits:
TTSImplementation show all
Defined in:
lib/tts/tts.rb

Instance Attribute Summary

Attributes inherited from TTSImplementation

#name

Instance Method Summary collapse

Methods inherited from TTSImplementation

#available?, #binary

Constructor Details

#initializeFestival

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