C6/A6 gets mixed up with C7/A7 ?

Oct 2, 2014 at 8:04 AM
Hi,

I'm using this library in a little sample that I put together which detects notes from a diatonic harmonica in C. It works really well except when I hit the very top notes on the harmonica which are C7/A7 I think and the algorithm detects them as C6/A6.

Can you help me understand whether there's any tweaks that I can apply? It feels like the algorithm gets the pitch wrong on those notes.

Thanks,

Mike.
Sep 8, 2015 at 10:09 PM
I've been trying to do something very similar and am having the same issue.
He says it is 'Accurate across the full frequency range', but then goes on to define this as 50 Hz to 1.6 kHz which only actually covers G1 to G6.
Did you find any solution?
Sep 9, 2015 at 8:00 PM
I found the way around this was to alter the sample rate. If you give pitchtracker a value that is half or a quarter the actual rate used, it will report everything as one or two octaves lower. This allows you to shift the range that it can detect to match the range of your instrument.