Public Member Functions | List of all members
sound_play.sound_play_plugin.SoundPlayPlugin Class Reference
Inheritance diagram for sound_play.sound_play_plugin.SoundPlayPlugin:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def sound_play_say_plugin (self, text, voice)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def sound_play.sound_play_plugin.SoundPlayPlugin.__init__ (   self)

Member Function Documentation

◆ sound_play_say_plugin()

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

Reimplemented in sound_play.flite_plugin.FlitePlugin, and sound_play.festival_plugin.FestivalPlugin.

Definition at line 23 of file sound_play_plugin.py.


The documentation for this class was generated from the following file:


sound_play
Author(s): Blaise Gassend
autogenerated on Fri Aug 16 2024 02:42:13