A MIDI Library for .NET

OutputDevice.SendNoteOff Method

Sends a Note Off message to this MIDI output device.

public void SendNoteOff(
   Channel channel,
   Pitch pitch,
   int velocity
);

Parameters

channel
The channel.
pitch
The pitch.
velocity
The velocity 0..127.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException channel, note, or velocity is out-of-range.
InvalidOperationException The device is not open.
DeviceException The message cannot be sent.

See Also

OutputDevice Class | Midi Namespace