Synthesizer.Play

Description

Takes info from <see cref="F:Sandbox.Speech.Synthesizer.Builder" /> and creates a <see cref="T:System.Speech.Synthesis.SpeechSynthesizer" />, outputting to a stream object. Using <see cref="T: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.

Return

User Comments