Difference between revisions of "xAP Speech Schema"

From XAP Automation
Jump to: navigation, search
 
(tts.speak)
 
Line 2: Line 2:
 
Class=tts.speak
 
Class=tts.speak
  
tts.speak
+
tts.speak<BR/>
{
+
{<BR/>
 
Say=(text to speak)<BR/>
 
Say=(text to speak)<BR/>
 
--- mandatory<BR/>
 
--- mandatory<BR/>
Line 13: Line 13:
 
--- optional<BR/>
 
--- optional<BR/>
 
Priority=(Yes/No To stop current playback and play this text)<BR/>
 
Priority=(Yes/No To stop current playback and play this text)<BR/>
 +
--- optional<BR/>
 +
Delay=(delay in ms between receipt of message and speech starting)<BR/>
 
--- optional<BR/>
 
--- optional<BR/>
 
filename=(If the is present then instead of playing the sound through the sound card it will be recorded into a wav file specified here)<BR/>
 
filename=(If the is present then instead of playing the sound through the sound card it will be recorded into a wav file specified here)<BR/>
 +
--- optional<BR/>
 +
Sound=(Name of sound to play before speech. Should be sent without file extension)<BR/>
 
--- optional<BR/>
 
--- optional<BR/>
 
}<BR/>
 
}<BR/>

Latest revision as of 16:50, 30 April 2009

tts.speak

Class=tts.speak

tts.speak
{
Say=(text to speak)
--- mandatory
Volume=(0-100)
--- optional
Voice=(TTS Voice to use)
--- optional
Device=(Soundcard to use)
--- optional
Priority=(Yes/No To stop current playback and play this text)
--- optional
Delay=(delay in ms between receipt of message and speech starting)
--- optional
filename=(If the is present then instead of playing the sound through the sound card it will be recorded into a wav file specified here)
--- optional
Sound=(Name of sound to play before speech. Should be sent without file extension)
--- optional
}

To stop speaking. Either just the current spoken message or the entire queue

Class=tts.speak

tts.stop
{
Stop=[Current|All]
--- mandatory
}

tts.locate

Used for another app to locate a tts app Class=tts.locate

tts.locate
{
Locate=Yes
}


Response to a tts.locate request Class=tts.service

tts.voice
{
Voice.X=(Voice name, X is sequential)
--- mandatory
Default=(Default Voice)
--- optional
}
tts.output
{
Output.X=(Output name, X is sequential)
--- mandatory
Default=(Default Output)
--- optional
}