Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
SpeechSynthesizer.SetOutputToWaveFile Method
Include Protected Members
Include Inherited Members
Configures the SpeechSynthesizer object to append output to a Waveform audio format file.
Overload List
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. |
Top
Remarks
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.