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
- toneId
Type: System.Byte
Remarks
The DTMF tones are defined in the DtmfTone enumeration, but other tone values are possible and legitimate.