Share via


Note

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

DtmfRecognitionEngine.AddTone Method (Byte)

Adds a tone to the buffer for recognition against the loaded Grammar objects.

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

Syntax

'Declaration
Public Sub AddTone ( _
    toneId As Byte _
)
'Usage
Dim instance As DtmfRecognitionEngine
Dim toneId As Byte

instance.AddTone(toneId)
public void AddTone(
    byte toneId
)

Parameters

Remarks

The DTMF tones are defined in the DtmfTone enumeration, but other tone values are possible and legitimate.

See Also

Reference

DtmfRecognitionEngine Class

DtmfRecognitionEngine Members

AddTone Overload

Microsoft.Speech.Recognition Namespace