Skip to content

synth_get_rate

drewmccluskey edited this page Feb 12, 2019 · 2 revisions

synth_get_rate

Returns current text synthesize to speech rate

Syntax:

synth_get_rate()

Returns: int

Description:

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.

Example:

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

Clone this wiki locally