SpeechSynthesizer.SetOutputToWaveFile Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Configures the SpeechSynthesizer object to append output to a Waveform audio format file.

Namespace:   System.Speech.Synthesis
Assembly:  System.Speech (in System.Speech.dll)

NameDescription
System_CAPS_pubmethodSetOutputToWaveFile(String)

Configures the SpeechSynthesizer object to append output to a file that contains Waveform format audio.

System_CAPS_pubmethodSetOutputToWaveFile(String, SpeechAudioFormatInfo)

Configures the SpeechSynthesizer object to append output to a Waveform audio format file in a specified format.

To release the SpeechSynthesizer’s reference to the file, reconfigure the SpeechSynthesizer’s output, for example, by calling SetOutputToNull.

For other output configuration options, see the SetOutputToAudioStream, SetOutputToDefaultAudioDevice, SetOutputToNull, and SetOutputToWaveStream methods.

Return to top
Show: