- Open Terminal and create a folder for Processing to rwmidi library: mkdir -p ~/Documents/Processing/librairies/rwmidi/library/
- Copy RWMidi lib to in Processing folder: cp ./software/lib/rwmidi/rwmidi.jar ~/Documents/Processing/librairies/rwmidi/library/
- Open MIDI Driver Setup in /Applications/Audio MIDI Setup.app
- In the Window menu, Show Midi Window
- Double Click on IAC Driver
- In IAC Driver window, check the device is online checkbox.
- Open GarageBand and Open Preferences.
- In Preferences panel, 1 MIDI input should be detected.
- Open Processing, and launch sketch in ./software/processing/standalone/standalone.pde
- You should have a balck-&-white pixelated view of your webam
- Modifying the sens value in the sketch, you can modify the threshold of the line (sens value: sum of the white value in one column)
Open Arduino, and load the firmware from ./hardware/arduino/firmware/firmware.pde
Open Processing, and launch sketch from ./software/processing/serial/serial.pde