A MIDI Library for .NET

OutputDevice.SendControlChange Method

Sends a Control Change message to this MIDI output device.

public void SendControlChange(
   Channel channel,
   Control control,
   int value
);

Parameters

channel
The channel.
control
The control.
value
The new value 0..127.

Exceptions

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

See Also

OutputDevice Class | Midi Namespace