Summary

A speech synthesis stream. Lets you write text into speech and output it to a SoundHandle.

Constructors

Synthesizer

Properties

CurrentVoice Gets the current voice being used by Sandbox.Speech.Synthesizer.SpeechSynthesizer.
InstalledVoices Gets a list of currently installed voices on the user's system.

Methods

OnVisemeReached
Play Takes info from Sandbox.Speech.Synthesizer.Builder and creates a System.Speech.Synthesis.SpeechSynthesizer, outputting to a stream object. Using Sandbox.Speech.Synthesizer.AudioStreamHelpers we then read all the PCM samples, and write it to a SoundStream. This means it'll work like any other sound.
TrySetVoice Tries to set the voice to a matching voice name installed on the user's system.
WithBreak Adds a break to the speech.
WithRate Sets the playback rate of the synthesizer.
WithText Adds some text to the speech.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.