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

See Also

Reference

SpeechSynthesizer Class

SpeechSynthesizer Members

Microsoft.Speech.Synthesis Namespace