Pages: [1]   Go Down
Author Topic: LED & sound link  (Read 1191 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 631
Posts: 50115
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Pages: [1]   Go Up
Jump to: