Module: FreeTTS

Defined in:
lib/freetts.rb,
lib/freetts/voice.rb,
lib/freetts/version.rb

Defined Under Namespace

Classes: Voice

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.current_voiceObject

Returns the value of attribute current_voice.



12
13
14
# File 'lib/freetts.rb', line 12

def current_voice
  @current_voice
end

Class Method Details

.speak(speakable) ⇒ Object



15
16
17
# File 'lib/freetts.rb', line 15

def self.speak(speakable)
  self.current_voice.speak(speakable)
end