Guitar tuner that uses phone accelerometer

(tautme.github.io)

55 points | by adm4 3 days ago

6 comments

  • nubinetwork 4 minutes 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.
  • jmusall 4 hours 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).
    • hgomersall 3 hours ago
      If you know you have a single frequency close to an actual frequency of interest, you can use the fact you know you're in an aliased band to get a precise frequency estimate.
      • jonathrg 2 hours ago
        Presumably there is an antialiasing low pass filter somewhere before JS gets to the data. I have a similar sample rate and it certainly didn't work at all for me.
        • ErroneousBosh 24 minutes ago
          If the accelerometer samples at 50Hz, how could there be an antialiasing filter?

          What would that filter look like?

          • colanderman 1 minute ago
            Anything physical which dampens higher frequency oscillations would act as an antialiasing filter.
      • ckocagil 1 hour ago
        aka a stroboscopic measurement,

        but I don't think it will work well for this case.

        • KeplerBoy 23 minutes ago
          It's just higher nyquist zones.
  • adm4 3 days ago
    guitar detuner that uses accelerometer instead of microphone, it doesn't really work, but amazing to see how sensitive they are.
    • tiluha 1 hour ago
      It really is crazy. Placing my phone on my chest lying down i can clearly see my heartbeat on the graph
    • tgv 4 hours ago
      It also shows that it can leak all kinds of other information.
      • codethief 3 hours ago
        …which is why both Android & iOS put high-frequency access to the accelerometer behind an additional permission AFAIR.
  • ramenat2am 1 hour 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.
    • embedding-shape 1 hour ago
      > even the cheapest crappiest mic would do a much better job at recording sounds

      And if you don't even have that, use a speaker/headphone as the microphone, probably also better results.

  • aa-jv 3 hours 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..
  • JoheyDev888 2 hours ago
    [dead]