SpeechSynthesizer.SetOutputToWaveFile Method
Configures the SpeechSynthesizer object to append output to a Waveform audio format file.
| Name | Description | |
|---|---|---|
|
SetOutputToWaveFile(String) | Configures the SpeechSynthesizer object to append output to a file that contains Waveform format audio. |
|
SetOutputToWaveFile(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.