Click or drag to resize
SimpleMidiMessageWithChannel Method
Returns a copy of this SimpleMidiMessage with the channel changed to channel.

Namespace: MidiGremlin.Internal
Assembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public SimpleMidiMessage WithChannel(
	byte channel
)

Parameters

channel
Type: SystemByte
The channel to use in the copy of this message.

Return Value

Type: SimpleMidiMessage
A copy of this SimpleMidiMessage with the channel changed.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf channel is above 15, outside the range of MIDI channels.
See Also