Jump to content

How could I detect when a guitar string is played?

Guest

I had an idea for my uno, which is putting six leds on the bridge of my guitar and lighting them up when the corresponding string is played. I'm not really sure how I could detect that though. Any ideas? I don't think a light sensor would work because there would be a lot of interference, some kind of microphone would probably detect the other strings as well.

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, whitephoenix said:

I had an idea for my uno, which is putting six leds on the bridge of my guitar and lighting them up when the corresponding string is played. I'm not really sure how I could detect that though. Any ideas? I don't think a light sensor would work because there would be a lot of interference, some kind of microphone would probably detect the other strings as well.

Well, you could use your computer if you had a way to imput the sound.

 Pc Speck's : i7-6700K 4.0GHz , GTX 980 Ti G1 Gaming 6GB , 16 GB Corsair Vengance DDR4 - 3400 , ROG SWIFT PG278Q 144Hz , (2) Acer G277HL bid 60Hz.

Link to comment
Share on other sites

Link to post
Share on other sites

Makey makey? You can complete a circuit by touching the string and you can set up a function. I don't know how to connect it to LEDs, though. Hopefully this helps.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, DonDeWaay said:

Makey makey? You can complete a circuit by touching the string and you can set up a function. I don't know how to connect it to LEDs, though. Hopefully this helps.

Oh also there's a LTT and Channel Superfun video on it.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, DonDeWaay said:

Makey makey? You can complete a circuit by touching the string and you can set up a function. I don't know how to connect it to LEDs, though. Hopefully this helps.

I don't want to buy one if possible. Maybe I could rig up something similar though.

2 minutes ago, reddemonoverlord said:

Well, you could use your computer if you had a way to imput the sound.

If possible I'd like to avoid adding any non-portable components to this

Link to comment
Share on other sites

Link to post
Share on other sites

i would say a capacitive sensor attached to the strings, but most guitars i know of use a metal bridge which would make pretty much any capacitive or voltage based circuit only see all the strings as one. If each string is electrically isolated, then a capacitive touch system should work great. That along with a microphone so that the strings being touched will only light up when where is sound.

Case: Phanteks Evolve X with ITX mount  cpu: Ryzen 3900X 4.35ghz all cores Motherboard: MSI X570 Unify gpu: EVGA 1070 SC  psu: Phanteks revolt x 1200W Memory: 64GB Kingston Hyper X oc'd to 3600mhz ssd: Sabrent Rocket 4.0 1TB ITX System CPU: 4670k  Motherboard: some cheap asus h87 Ram: 16gb corsair vengeance 1600mhz

                                                                                                                                                                                                                                                          

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

I would like to know is it electric or acoustic guitar.

In case of electric one, capacitive sensor(s) would have lots of issues because all strings are connected to a common ground (bridge). Touch one string, all will lit up. In that case piezo under each string should be much better idea. Then you can use analog inputs of your uno to light up a LED if there is certain threshold reached (voltage from piezo).

For acoustic one, capacitive sensor should be the easiest solution since all strings are insulated from each other BUT the LEDs would lit up even if you just touch any of the strings. Installing piezo for each string separately is not easy at all (usually there is a piezo underneath saddle in electro-acoustic ones).

For classical guitar is really difficult situation because 3 strings are conductive and 3 are not (nylon) and there is again problem in installing separate piezo for each string separately.

 

There is also another way (in theory at least) to use mic and FFT algorithm to distinguish which strings are played but it would probably take you months to program that xD

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×