AudioConfig.FromWavFileInput(String) Method

Definition

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
System.String

Specifies the audio input file.

Returns

AudioConfig

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

Remarks

See also: Continuous recognition

Applies to