A MIDI Library for .NET

NoteOnMessage Constructor

Constructs a Note On message.

NoteOnMessage(
   DeviceBase device,
   Channel channel,
   Pitch pitch,
   int velocity,
   float time
);

Parameters

device
The device associated with this message.
channel
Channel, 0..15, 10 reserved for percussion.
pitch
The pitch for this note message.
velocity
Velocity, 0..127.
time
The timestamp for this message.

See Also

NoteOnMessage Class | Midi Namespace