SetOutputToWaveFile Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Assigns a specific .WAV format audio file as the output of the speech synthesizer.

Namespace:  Microsoft.Speech.VoiceXml
Assembly:  Microsoft.Speech.VoiceXml (in Microsoft.Speech.VoiceXml.dll)

Syntax

C#
protected void SetOutputToWaveFile(
	string audioOutputPath
)

Parameters

audioOutputPath
Type: System..::..String
The path to the .WAV file to be used as output.

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionThrown when the SetOutputToWaveFile(string audioOutputPath) method is called on a Browser instance that is running.

See Also