Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Browser.SetOutputToWaveFile Method
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
'Declaration
Protected Sub SetOutputToWaveFile ( _
audioOutputPath As String _
)
'Usage
Dim audioOutputPath As String
Me.SetOutputToWaveFile(audioOutputPath)
protected void SetOutputToWaveFile(
string audioOutputPath
)
Parameters
- audioOutputPath
Type: System.String
The path to the .WAV file to be used as output.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the SetOutputToWaveFile(string audioOutputPath) method is called on a Browser instance that is running. |