f2e-spec
f2e-spec copied to clipboard
Pitch detector not detecting pitch correctly
The tone detector is not accurately detecting the correct tones. I made 3 simple tests: http://www65.zippyshare.com/v/42767206/file.html These are wav files that can be used for that. The first plays a sound of the note G3. This one works. The 2nd also plays the note G3 but with the fundamental missing. This fails, as the scoring mechanism provides to much extra for the fundamental, detecting a G4 instead. In this case the note type is still correct but only because G4 is twice the frequency than G3. Adding only 1 score point for the fundamental instead of 4 solves this. The 3rd file plays note G4 and this time the result seems to be bogus. It detects peaks that would resolve to a G3 and therefore detects a G3. However if you let e.g. Audacity display the spectrum, only the correct peaks are present. Somehow The performous algorithm gets to many peaks here.
Sorry for not getting back at you earlier. The files appear to be expired already. But did you ask about this on our IRC channel a while back? Someone did and I gather that there was a problem with how the test tones were fed into Performous (phase discontinuity) rather than a problem with pitch detection.
Could you confirm if we still need to look into this problem and if so, re-post your test tones somewhere?
Yes I was the one. This time this is not that problem (did this properly using this files) So the problem still persists. Files are here: http://www63.zippyshare.com/v/86360739/file.html BTW: I tested with VS2012 but I'm sure this can be reproduced with every other compiler as well.