Sample code to control a KORG volca keys or volca beats from the Pi. Connect the midi data line to GPIO pin 25 (through a 220Ohm resistor) and the current line to 5V through a 220Ohm resistor.

Author: Philip Levis pal@cs.stanford.edu Date: May 14, 2017