Sha256: 7ce753ddc98998c9368c407f9fbb9d804bdfc4309f829221ea7eb8084083f0e9
Contents?: true
Size: 674 Bytes
Versions: 17
Compression:
Stored size: 674 Bytes
Contents
# encoding: utf-8 module Punchblock module Translator class Freeswitch module Component class TTSOutput < AbstractOutput private def do_output register_handler :es, :event_name => 'CHANNEL_EXECUTE_COMPLETE' do |event| send_complete_event finish_reason end voice = @component_node.voice || :kal application :speak, [renderer, voice, document].join('|') end def renderer @component_node.renderer || :flite end def document concatenated_render_doc.to_s end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems