Skip to main content

Constants

Some of the Smart Multibox functions take special constants as input parameters. These are defined below.

MIDI Constants

Message Types

MIDI_NOTE_OFF = 0x80
MIDI_NOTE_ON = 0x90
MIDI_POLY_PRESSURE = 0xA0
MIDI_CC = 0xB0
MIDI_PC = 0xC0
MIDI_CHAN_PRESSURE = 0xD0
MIDI_PITCH_BEND = 0xE0
MIDI_SYSEX_START = 0xF0
MIDI_TIME_FRAME = 0xF1
MIDI_SONG_POS = 0xF2
MIDI_SONG_SEL = 0xF3
MIDI_TUNE_REQ = 0xF6
MIDI_SYSEX_END = 0xF7
MIDI_CLOCK = 0xF8
MIDI_START = 0xFA,
MIDI_CONTINUE = 0xFB
MIDI_STOP = 0xFC
MIDI_ACTIVE_SENSE = 0xFE
MIDI_RESET = 0xFF

Other Values

MIDI_MIN_VAL = 0
MIDI_MAX_VAL = 127