Go Down

Topic: LED & sound link (Read 1 time) previous topic - next topic

MJG91

I would like to know if it is possible to write a program for arduino where a tune is played through a speaker/pitch sensor and LEDs flash. What I would like to know is: is it possible to code it so that when the tone goes higher the next LED lights up and when the tone goes lower the previous LED lights up?

Thanks for any help, M

PaulS

Once you know the (frequency of the) tone, lighting the appropriate LEDs is trivial.

Learning the (frequency of the) tone is the hard part. How do you envision this happening?

Quote
I would like to know if it is possible to write a program for arduino

Yes.

Quote
where a tune is played through a speaker/pitch sensor

Tune or tone? What is playing the tune/tone? What is the speaker attached to?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy