Dela via


AudioConfig.FromWavFileInput Method

Definition

Overloads

FromWavFileInput(String)

Creates an AudioConfig object that receives speech from an audio file in WAV format.

FromWavFileInput(String, AudioProcessingOptions)

Creates an AudioConfig object that receives speech from an audio file in WAV format.

FromWavFileInput(String)

Creates an AudioConfig object that receives speech from an audio file in WAV format.

public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromWavFileInput (string fileName);
static member FromWavFileInput : string -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromWavFileInput (fileName As String) As AudioConfig

Parameters

fileName
String

Specifies the audio input file.

Returns

An audio input configuration object set to provide speech from a .WAV file.

Remarks

See also: Continuous recognition

Applies to

FromWavFileInput(String, AudioProcessingOptions)

Creates an AudioConfig object that receives speech from an audio file in WAV format.

public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromWavFileInput (string fileName, Microsoft.CognitiveServices.Speech.Audio.AudioProcessingOptions audioProcessingOptions);
static member FromWavFileInput : string * Microsoft.CognitiveServices.Speech.Audio.AudioProcessingOptions -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromWavFileInput (fileName As String, audioProcessingOptions As AudioProcessingOptions) As AudioConfig

Parameters

fileName
String

Specifies the audio input file.

audioProcessingOptions
AudioProcessingOptions

Specifies the audio processing options.

Returns

An audio input configuration object set to provide speech from a .WAV file.

Remarks

See also: Continuous recognition

Applies to