File.open("audio.wav", "wb") do |file| OmniAI.speak("Sally sells seashells by the seashore.") do |chunk| file << chunk end end
See Also:
72 73 74
# File 'lib/omniai.rb', line 72 def self.speak(...) client.speak(...) end