The procedures described here provide some conveniences around working with MIDI. They are contained in the module ‘(librekontrol midi)’.
MIDI notes are defined as an enumeration. They range from C-0 (value 0) to F#-11 (value 127). The notes are referred to by symbols such as midi-note-d3 or midi-note-f#5, which reflect the specific note (here, D or F#) and the octave (here 3 or 5).
Convert symbol note into its associated numeric value between 0 and 127.
Likewise, MIDI controls are defined as an enumeration set between 0 and 127.
Convert symbol control into its associated numeric value between 0 and 127.
|• MIDI Notes|
|• MIDI Controls|