Arduino-based experiments and MIDI controllers.
These sketches are designed to be used with Arduino sensors connected to an Arduino Uno. Connect the Arduino to a PC via USB. Hairless MIDI serial and LoopBe need to be installed on the PC. Hairless MIDI deals with the serial data. LoopBe allows this data to be routed as a MIDI instrument into software. You'll need to include some libraries too - check the top of the code.
[Hairless MIDI Serial to MIDI Bridge] (http://projectgus.github.io/hairless-midiserial/)
Some videos of these in action here:
https://www.youtube.com/watch?v=Sysc4m5WBRs&list=PLK97vHtT6kElv3KbduHqCx-dmEcHraSOI
Arduino sketch that reads analog values from 4 potentiometers and converts these values to serial MIDI data.
Arduino sketch that reads values from an MMA7361 accelerometer and converts these values to serial MIDI data.
https://github.com/psiconlab/Arduino_Ultrasonic_MIDI_Native