birthday canon machine

this is a musical machine i built for astrids birthday, again using the same controller with three push buttons. if you press one of the buttons the canon will start and you can add the other voices accordingly. however, you need to get the timing right in order to sound like a nice canon. pushing the button again turns the voice off. (video link)

hardware
three push buttons in one controller, connected to arduino via ground and a digital pin each.

software
i’m using processing to do this, meaning that my laptop is actually playing the file, not arduino itself. here you can find the processing code i wrote. for instructions on how to get arduino to communicate with processing and vice versa, check arduino playground. also it needs the minim audio library installed.

Tagged , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: