Click or drag to resize
ToneGeneratorGenerate Method (UInt32, UInt32, UInt32)
Generates a tone at a given frequency.

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

Parameters

frequency
Type: SystemUInt32
Frequency of the tone to be generated.
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