This project is the Arduino microcontroller code for a MIDI musical instrument designed as a digital replica of the Ancient Greek Aulos.
The sketch has only been tested on the Arduino UNO board, and requires a SparkFun MIDI shield and an Adafruit MPR121 capacitative sensing breakout board. I've tested both pressure sensors and flow sensors for breath sensing, and found that flow sensors seem to offer the smoothest and most natural response.
The FortySevenEffects MIDI LIbrary and the SoftwareSerial library can be installed from within the Arduino IDE. The SoftwareSerial library lets us use digital pins for the serial MIDI output, keeping the hardware serial port available for the bootloader- this means we don't need to toggle the RUN/PROG switch on the MIDI shield before uploading code, and that we can still print to the console for debug purposes (full instructions and better explanation provided by SparkFun). The MIDI library allows us to send standard MIDI messages from the output port on the MIDI shield.
After assembling the hardware, launch the Arduino IDE and upload single_bore_MIDI.ino.
Build Double-bore version.