Or there could be an easier way to send MIDI messages to my Arduino?
QuoteOr there could be an easier way to send MIDI messages to my Arduino?You can use a Serial-MIDI converter software like this:http://spikenzielabs.com/SpikenzieLabs/Serial_MIDI.htmlOr you can just use a regular MIDI output of your computer (using whatever MIDI hardware you have) and connect to the Arduino using a MIDI interface shield, like our Flexible MIDI Shield.--The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons
MIDI messages coming from the MIDI-in port are limited to Note-ON, Note-OFF and Controller change commands.
A MIDI shield converts incoming MIDI messages to serial data, so you can access it in your sketch using a Serial object (either hardware serial or the SoftwareSerial implementation).Getting MIDI out of your computer needs some kind of MIDI hardware with drivers. Something like this (just a random thing I found -- no particular endorsement is implied):http://www.amazon.com/Roland-UM-1-Compact-Audio-Interface/dp/B004KCLXBE--The Ruggeduino: compatible with Arduino UNO, 24V operation, all I/O's fused and protected
You can use a Serial-MIDI converter software like this:http://spikenzielabs.com/SpikenzieLabs/Serial_MIDI.html