Here is the build Video!
The Raspberry Pi based Theremin like Musical Instrument, built with two HC-SR04 Range Finders. Its pronouced Thera (as in Therapy), Pie - Thera-Pie.
Software Architecture TherePi uses the Python Mido library, to send midi data from the Raspberry Pi Zero across to another computer running Garageband, to produce sounds based on the distances read from the two range finders; one for volume, and one for pitch.
Unlike the Theremin, the TherePi can auto-tune to specific notes, making it slightly easier to play.
midi_basic.py
is a simple program to test that midi is working on your computermidi_player.py
is a simply midi file player - it will read in the contents of the file and send it to themidi_receiver.py
server on the local machinemidi_receiver.py
listens for connections and then plays the midi messages received on the local machinemidi_sender.py
sends a couple of test notes to the midi server specified in theHOST
variabletherepi.py
is the main program for running with the therepi hardware - it will use the two range finders to specic which notes to play and how loud to play then depending on the distance read from each sensor