Hi,
I have made a pitch detection program with dsp and the GetParameterFloat command, detecting the frequency every 100th millisecond. I am however puzzled by the frequencies I get as output. I made a sound file playing a plain, single C note from a keyboard, which I belive should have the frequency of 2093.0096 hz. However, I don’t understand why the frequencies from my program varies so much. The frequenciy of the note below C, B, is 1975.53, and the one above, C#, is 2217.46, and as I can see from the ouput, some of the frequencies are more than half a note higher or lower than the C note. I therefore hope someone could give a comment why this is so.
Here’s the output:
2020.356567
1990.973511
2074.719971
2372.341553
1989.259766
2520.695068
2055.541748
2041.533203
2183.365967
1936.559082
2266.481934
2026.778931
1995.836182
1942.678589
1983.223755
2100.231689
2025.617798
1929.928833
1941.497437
2019.644043
2097.964600
1977.790894
1972.209961
1905.834839
2028.224243
Thanks in advance.
Sincerely