Click or drag to resize
InstrumentPlay Method (Tone, Double, Byte)
Plays a tone with duration and velocity specified.

Namespace: MidiGremlin
Assembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Play(
	Tone tone,
	double duration,
	byte velocity = 64
)

Parameters

tone
Type: MidiGremlinTone
The tone to play.
duration
Type: SystemDouble
How long the tone should last in beats.
velocity (Optional)
Type: SystemByte
From 0 to 127. Default is 64.
See Also