Dela via


Windows.Media.SpeechSynthesis Namespace

Provides support for initializing and configuring a speech synthesis engine (or voice) to convert a text string to an audio stream, also known as text-to-speech (TTS). Voice characteristics, pronunciation, volume, pitch, rate or speed, emphasis, and so on are customized through Speech Synthesis Markup Language (SSML) Version 1.1.

Classes

SpeechSynthesisStream

Supports reading and writing audio data generated by the speech synthesis engine (voice) to/from a random access stream.

SpeechSynthesizer

Provides access to the functionality of an installed speech synthesis engine (voice) for Text-to-speech (TTS) services.

SpeechSynthesizerOptions

Provides access to various speech synthesizer options.

VoiceInformation

Provides info about an installed speech synthesis engine (voice).

Enums

SpeechAppendedSilence

Specifies the amount of silence added to the end of the speech synthesis utterance (before another utterance begins).

SpeechPunctuationSilence

Specifies the amount of silence added after punctuation in the speech synthesis utterance (before another utterance begins).

VoiceGender

Specifies the gender preferences available for speech synthesis (if supported by the specified speech synthesis engine).

See also