Alright, so this is a joint commlab/physcomp post. I’m supposed to document one of my projects for commlab, so it all worked out.
Here’s the video.
I started toying around with the servo, but I really wanted to play with the piezo. I wanted to create a different sound based on the user’s input. I had a force sensor, so I jury rigged some code up to do interesting stuff. At first there was a problem when I tried to upgrade the arduino program and found that it was broken. Oh well. Back down to version 0011.
So, what i was trying to do is let a user make a 3-note song. But this sound stuff is harder than it seems. I kept having trouble getting the delay right for to seperate the notes, so really what you’re hearing in the video is 3 notes being played very fast, but it sounds like one sound. Still, it’s generally what I was aiming for. I need to figure out the delays more. But not now. Later.
And here’s the code:
Read More




