Skip to content
Computer code for a harp using an Arduino and 6 infrared sensors.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
arduino/arduino_harp
harp
.gitignore
README.txt

README.txt

Welcome to the musical Harp.  This program has been tested on a computer running windows xp, however, it should run on any windows computer.  It might not work the first time however, and might require changing the source.  

Necessary Software:
    Python 2.7: http://www.python.org/download/releases/2.7/

    GP2D02 Library:
        GIT:    git@github.com:jtrollinson/ArduinoGP2D02.git
        BROWSER:https://github.com/jtrollinson/ArduinoGP2D02
    
    Arduino:
        http://arduino.cc/en/Main/Software
    
    Pyo: (We used 0.5, but experiment. It's probably a lot better now)
        https://code.google.com/p/pyo/downloads/list
    
    PySerial: (We used 2.6)
        https://pypi.python.org/pypi/pyserial


1) If you haven't already, install pyo and move the serial folder in your version of pySerial into your python library folder.

2) Make sure the arduino is connected before you connect it to the computer.  

3) Open the program

4) You can use either winsound or pyo as your source of music.  Pyo has more control, but lags slightly.  Winsound is much quicker and easy to use, but also lacks multiple note support.

5) To start the instrument, press start and follow the instructions.  Always click quit where applicable instead of closing through red 'x'

6) For help when using the program, click the help button

7) To view what the sensors are returning, press Raw Range

8) To hear what a note will sound like, press play next to each note.
You can’t perform that action at this time.