A MIDI Library for .NET

NoteOnOffMessage Constructor

Constructs a Note On/Off message.

NoteOnOffMessage(
   DeviceBase device,
   Channel channel,
   Pitch pitch,
   int velocity,
   float time,
   Clock clock,
   float duration
);

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.
clock
The clock that should schedule the off message.
duration
Time delay between on message and off messasge.

See Also

NoteOnOffMessage Class | Midi Namespace