Share via


Note

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

RecognizedWordUnit.AudioDuration Property

Gets the time interval that represents the length of the audio signal for the word.

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

Syntax

'Declaration
Public ReadOnly Property AudioDuration As TimeSpan
    Get
'Usage
Dim instance As RecognizedWordUnit
Dim value As TimeSpan

value = instance.AudioDuration
public TimeSpan AudioDuration { get; }

Property Value

Type: System.TimeSpan
The length of the audio signal for the word.

See Also

Reference

RecognizedWordUnit Class

RecognizedWordUnit Members

Microsoft.Speech.Recognition Namespace

RecognizedAudio