Guitar tuner that uses phone accelerometer

tautme.github.io

171 points by adm4 9 days ago


Tade0 - 6 days ago

My accelerometer apparently reads at 200Hz, but due to a lack of instrument at the ready I had to "pluck" the handle of the office fußball table.

When the right defender is near the center I'm reading ~24.74Hz, so slightly above G.

Akuehne - 6 days ago

This has some very interesting privacy and security risks. If the tech can do more complex frequency analysis, then couldn't it essentially be used as a microphone for a device that doesn't need permission.

dehrmann - 5 days ago

The more reliable guitar tuners do something like this. You clip them on the neck, and they detect vibrations in the wood rather than from sound in the air.

jmusall - 6 days ago

Fun idea and also I didn't know that websites could get access to my accelerometer data. However for me the sample frequency is 50 Hz which is way too low to measure even the lowest string pitch (E2, about 82 Hz).

kingkawn - 6 days ago

The very clear and succinct description on the landing page makes me miss the bizarre antisocial charming quirk that people who made things like this used to be stuck with for their copy rather than AI generated language. Our cacophony of experience is quieting.

adm4 - 9 days ago

guitar detuner that uses accelerometer instead of microphone, it doesn't really work, but amazing to see how sensitive they are.

JoheyDev888 - 6 days ago

The neat bit is that it doesn't necessarily need to sample 82 Hz directly. If the sample rate is known and the target is one of a few guitar strings, the aliased peak can still be useful. The tricky part is probably rejecting the wrong alias once the vibration signal gets messy.

aa-jv - 6 days ago

Anyone got a handle on the algorithm required to do this? I've got a pocketable accelerometer-enabled device I'd like to try to implement this on..

donclark - 5 days ago

Can an accelerometer determine when a car is having issues? Can it do the same for a human user's body?

AtNightWeCode - 5 days ago

Cool. It worked for E and A but it failed for string 1-4. I was surprised that it worked at all.

ramenat2am - 6 days ago

I mean yeah, that's cool as a fun project. And I've also heard about a project that used accelerometers as microphones for surveillance. And while it's doable, even the cheapest crappiest mic would do a much better job at recording sounds for whatever is your goal.

nubinetwork - 6 days ago

This sounds neat, but I think I owned a tuner for about 6 weeks before I could do it by ear... EADGBe isn't that hard.