Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AltStyle によって変換されたページ (->オリジナル) /