@midi_getCommandByte(tab)
The argument is a tab representing a midi message, see function @midi_read. The @midi_getCommandByte extracts the first element of the tab. For the seven channel related midi commands, this corresponds to the encoding of a command plus a channel, cf. @midi_read
See also Midi Related Functions @hz2midi @hz2midicent @hz2symb @midi_getChannel, @midi_getCommandByte, @midi_getCommand, @midi_getMetaType, @midi_isAftertouch, @midi_isController, @midi_isEndOfTrack, @midi_isMeta, @midi_isNoteOff, @midi_isNoteOn, @midi_isNote, @midi_isPatchChange, @midi_isPitchbend, @midi_isPressure, @midi_isTempo, @midi_read, @midi_track2ascii @midi2hz @midicent2hz @symb2midicent