MIDIEvent.getChannelNumber

These methods give the channel message type and the channel number (upper and lower four bits, respectively).

Preconditions: this message must be a channel message, so this.isChannelMessage() must be true. See also: mididi.def.ChannelMessageType

  1. ChannelMessageType getChannelMessageType()
  2. ubyte getChannelNumber()
    struct MIDIEvent
    const @nogc nothrow pure @safe
    ubyte
    getChannelNumber
    ()

Meta