The discussion is on the AppyBuilder site.
This is an augmented of the TextToSpeech Component to synchronize speech with actions.
Allows you to perform actions specified by attributes inserted into the text
Attributes Examples :
/pau=3000/ - Wait 3 seconds before continuing to talk;
/mrk=marker1/ - Insert bookmark (an event will be generated at this point);
/spr=1.2/ – Set Speech Rate to 1.2 (possible values 1.0 to 2.0).
/ptch=1.5/ – Set Pitch to 1.5 (possible values 1.0 to 2.0).
/vol=0.8/ - Adjust the volume of the speech (possible values 0 to 1.0).
/ptch=1.5,spr=1.3/ - You can specify multiple attributes, with a comma separating.
Text to speak example:
After this phrase, I will linger for 5 seconds. /pau= 5000/
After this phrase the phone will vibrate. /mrk=vibrate, spr=1.6/
I speak more quickly. /pch=1.5, spr= 1/
I speak in a different tone. /pch=1,vol=0.2/
I speak quieter. /vol=0.8/ I speak louder!
Due to the fact that speech is playing in the Alarm sound stream, has become possible to speak without stopping the background music , but only reduce it. This feature is useful, for example, when creating a “smart speaker”.
One new event:
New function in Version 2.1:
Current version :ScTTS_V2_1.aix (20.1 KB)