-
-
Notifications
You must be signed in to change notification settings - Fork 18
synth_get_rate
drewmccluskey edited this page Feb 12, 2019
·
2 revisions
Returns current text synthesize to speech rate
synth_get_rate()
Returns: int
This function will return the current text synthesize to speech talking rate. It is useful for determining how fast something will be read before reading it and checking if it needs to be sped up.
synth_set_rate(-10);
int rate = synth_get_rate(); // return -10
This above code will set the synth rate to -10 and then it will set int rate to the current rate (-10).
Back to Synth