AudioConfig.FromDefaultMicrophoneInput Method

Definition

Overloads

FromDefaultMicrophoneInput()

Creates an AudioConfig object that receives speech from the default microphone on the computer.

FromDefaultMicrophoneInput(AudioProcessingOptions)

Creates an AudioConfig object that receives speech from the default microphone on the computer.

FromDefaultMicrophoneInput()

Creates an AudioConfig object that receives speech from the default microphone on the computer.

public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromDefaultMicrophoneInput ();
static member FromDefaultMicrophoneInput : unit -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromDefaultMicrophoneInput () As AudioConfig

Returns

An audio input configuration object set to provide speech from the default microphone.

Remarks

See also: Recognize from microphone

Applies to

FromDefaultMicrophoneInput(AudioProcessingOptions)

Creates an AudioConfig object that receives speech from the default microphone on the computer.

public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromDefaultMicrophoneInput (Microsoft.CognitiveServices.Speech.Audio.AudioProcessingOptions audioProcessingOptions);
static member FromDefaultMicrophoneInput : Microsoft.CognitiveServices.Speech.Audio.AudioProcessingOptions -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromDefaultMicrophoneInput (audioProcessingOptions As AudioProcessingOptions) As AudioConfig

Parameters

audioProcessingOptions
AudioProcessingOptions

Specifies the audio processing options.

Returns

An audio input configuration object set to provide speech from the default microphone.

Remarks

See also: Recognize from microphone

Applies to