Click or drag to resize
DTMFGeneratorGenerate Method
Generates DTMF to a PCM stream.

Namespace: StreamCoders.Signals
Assembly: MediaSuite (in MediaSuite.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public byte[] Generate(
	sbyte tone,
	uint duration,
	uint volume
)

Parameters

tone
Type: SystemSByte
Possible characters are: 0-9, A-D, '*' and '#'.
duration
Type: SystemUInt32
The duration in milliseconds of the generated signal.
volume
Type: SystemUInt32
Unsigned power level [0;63] Amp = 10^(volume/10)

Return Value

Type: Byte
null if it fails, else.
See Also