MIDIEvent.getChannelMessageType

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()
    struct MIDIEvent
    const @nogc nothrow pure @safe
    getChannelMessageType
    ()
  2. ubyte getChannelNumber()

Meta