Code Monkey home page Code Monkey logo

therepi's Introduction

YouTube

Here is the build Video!

https://img.youtube.com/vi/MWPnnRE1kR8/01.jpg

TherePi

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.

The files

  • midi_basic.py is a simple program to test that midi is working on your computer
  • midi_player.py is a simply midi file player - it will read in the contents of the file and send it to the midi_receiver.py server on the local machine
  • midi_receiver.py listens for connections and then plays the midi messages received on the local machine
  • midi_sender.py sends a couple of test notes to the midi server specified in the HOST variable
  • therepi.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

therepi's People

Contributors

kevinmcaleer avatar

Stargazers

Sebastian Laprea avatar Sylvain LAFRASSE avatar  avatar PolaritySwitch avatar German Mad avatar Maciej [MyChai] Jankowski avatar Daniel Slåttnes avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar Sylvain LAFRASSE avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.