
Public Member Functions | |
| def | __init__ (self) |
| def | sound_play_say_plugin (self, text, voice) |
Base class for sound_play plugin
This is a base class for sound_play plugin.
sound_play plugin has one method; sound_play_say_plugin.
sound_play_start_plugin run when command is SAY.
sound_play plugin is defined in yaml format as below;
- name: sound_play/festival_plugin # plugin name
module: sound_play.festival_plugin.FestivalPlugin
# plugin module name
Also, sound_play plugin yaml file is exported in package.xml as below;
<export>
<sound_play plugin="${prefix}/sound_play_plugin.yaml" />
</export>
Definition at line 1 of file sound_play_plugin.py.
| def sound_play.sound_play_plugin.SoundPlayPlugin.__init__ | ( | self | ) |
Definition at line 20 of file sound_play_plugin.py.
| def sound_play.sound_play_plugin.SoundPlayPlugin.sound_play_say_plugin | ( | self, | |
| text, | |||
| voice | |||
| ) |
Start plugin for sound_play
Args:
text (string): speech text
voice (string): speech voice
Definition at line 23 of file sound_play_plugin.py.