Jump to content

Hello! I want to know if I can use an Arduino or a Raspberry Pi to turn on and off lights at spe...


G+_Armando Valladares
 Share

Recommended Posts

Hello!

I want to know if I can use an Arduino or a Raspberry Pi to turn on and off lights at specific points while there is an audio recording playing?

I just need it to turn on my device that plays the audio and the lights need to turn on or off at specific points while he recording is playing.

Can anyone help me or teach me how to do it?

Thanks

Link to comment
Share on other sites

Let's say you have a stereo recording of a song and you want to turn a light on or off at a certain point in the recording.

I would use something like the free Audacity software to convert the two stereo tracks to two mono tracks, then remove one channel (either left or right) then add a new, blank one.

Next I would record a tone on the blank channel (aka track) at the point where I want the Arduino to do something.

Then I would remove the paper cone from an old speaker and glue the speaker coil to the Piezo detector in this example:

 

https://www.arduino.cc/en/Tutorial/Knock

 

Finally, run the tone channel wire to the modified speaker.

Probably a lot simpler way to do it, but this is what came to mind

Link to comment
Share on other sites

 Share

×
×
  • Create New...