Partager via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SpeechRecognitionEngine.AudioLevel Property

Gets the level of the audio being received by the SpeechRecognitionEngine.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public ReadOnly Property AudioLevel As Integer
    Get
'Usage
Dim instance As SpeechRecognitionEngine
Dim value As Integer

value = instance.AudioLevel
public int AudioLevel { get; }

Property Value

Type: System.Int32
The audio level of the input to the speech recognizer, from 0 through 100.

Remarks

The value 0 represents silence, and 100 represents the maximum input volume.

See Also

Reference

SpeechRecognitionEngine Class

SpeechRecognitionEngine Members

Microsoft.Speech.Recognition Namespace

AudioLevelUpdated