Skip to main content
Three methods, depending on whether you want the samples or just want it spoken.

Signatures

synthesize gives you an Audio value to save or feed elsewhere. speak plays it and hands back a SpeechHandle. synthesizeStream is covered in Streaming TTS.

SpeechHandle

RunAnywhere.tts.stop() stops whatever is currently speaking, without a handle.

Options

See Voices for choosing one.

Saving to a file

Audio exposes duration alongside its samples.