AddTone Method (Byte)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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

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

instance.AddTone(toneId)
C#
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.

See Also