Assigns a specific .WAV format audio file as input to the speech recognition engine.
Namespace:
Microsoft.Speech.VoiceXml
Assembly:
Microsoft.Speech.VoiceXml (in Microsoft.Speech.VoiceXml.dll)
Syntax
C# |
---|
protected void SetInputToWaveFile( string audioInputPath ) |
Parameters
- audioInputPath
- Type: System..::..String
The path to the .WAV file to be used as input.
Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | Thrown when the SetInputToWaveFile(string audioInputPath) method is called on a Browser instance that is running. |