Hacker News new | ask | show | jobs
by davkap92 2378 days ago
Looks very cool will try this out and report back but just curious first thing that comes to mind, how are you differentiating between the several frets that could produce the same note, or for example 6th string 5th fret(A) vs open 5th string(A) ?
2 comments

Right now for pitch-detection purposes I'm not differentiating between them. If you produce a sound of the right pitch and octave that's considered a "hit" regardless of which fret or string you used to create it.

Personally I see that as a feature, but I guess if you wanted to be very prescriptive about fingering for educational/training reasons I can see the value in treating them differently.

There is some subtle difference in the tone (which is why you can hear the difference, obviously) so this is _possible_ but not trivial. I've actually been experimenting with "string detection" recently so that I can warn users when they are off by one string (a common beginner mistake).

Well, for chords not differentiating between them is correct anyway, since you can play different voicings.

The string detection is a good idea imho

I'd test this myself but don't have a guitar with me at the moment