Skip to content

synth_set_rate

drewmccluskey edited this page Feb 12, 2019 · 2 revisions

synth_set_rate

Sets speed of text synthesize to speach

Syntax:

synth_set_rate(rate)
Argument Description
int rate The speed of speech

Returns: void

Description:

This function will set the speed of text to speech, with input values ranging from -10 to 10. 0 being normal speed.

Example:

synth_set_rate(-10);
synth_speak("This is slow motion");

This above code will set the speed of text to speech at the slowest speed and then read aloud the words "This is slow motion".

Back to Synth

Clone this wiki locally