Monday, July 25, 2016

High Resolution MIDI with Arduino, Teensy and Ableton Live

High resolution MIDI improves the resolution of continuous controller messages from 7 bits (0 - 127) to 14 bits (0 - 16383) by pairing together certain controller numbers. Controllers 0 - 31 for the high byte are paired with controllers 32 - 63 for the low byte.

This is an example of using the Teensy LC, along the analogReadResolution() function to read an analog value of 12 bits, scaled to 14 bits, and then sent as a high resolution MIDI message sent via MIDI CC 32 paired with MIDI CC 0.