xAP Speech Schema Schema for basic TTS applications

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
Event=(Name of event to run as speech starts. xSpeech 1.3+)
--- 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
}
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.settings
{
MaxVolume=(0-100 maximum volume)
--- optional
DefaultVoice=(Default Voice)
--- optional
DefaultCard=(Default Card)
--- optional
}
tts.voice
{
Voice.X=(Voice name, X is sequential)
--- mandatory
}
tts.Card.X (Repeated for each card)
{
Card=(Audio Card name)
--- mandatory
Alias.X=(Possible name Aliases for this card)
--- optional
}
Set a Maximum volume. A xAP message may still request a quieter volume but nothing will output any higher.
Class=tts.set
tts.set
{
maxvolume=[0-100]
}
Copyright © by Mi4.biz All Right Reserved. Published on: 2004-01-18 (2583 reads) [ Go Back ] |