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
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview