Pages

Showing posts with label buzzer. Show all posts
Showing posts with label buzzer. Show all posts

Saturday, December 6, 2014

My Music and Lights are in Sync!

The video above might not look like much, but I spent nearly all day today getting my Lily Pad to sync up with flashing green and red lights!

Here is a link to the code that I used, which is a combination of the music I coded last week (see previous post) and someone else's code for the lights.

The biggest problem that I am having at the moment is that there is a long pause at the end of the song and a couple of lights are flashing for reasons I cannot figure out.

My next step is to figure out how to get the music to turn on with a temperature sensor. 



Sunday, November 30, 2014

Baby, I've Started Coding My LilyPad!

Today, I sat down and started coding the song "Baby, It's Cold Outside," to get myself in the holiday spirit! I matched the notes on the sheet music with those on this frequency chart.  I struggled a bit with the length of the notes and rests, so I'd like to try to find a tool for that as well.

Ideally, I'd like to create a scarf that plays this song and flashes multicolored lights when the temperature dips.

I haven't yet figured out how to program lights to flash in sync with my music, but that is next on my list.  (It looks like Lucie has figured it out, though).

The video is less than thrilling, but you can hear how my song is progressing.