SetInputToWaveFile Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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

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

See Also