|
 |
>> The basic situation is that I want to program a piano tuner (we'll see
>> about
>> having the guts to tune the thing). It didn't take more than a couple
>> hours to
>> write a c program that takes audio input, FFT's it, and tells you the
>> closest
>> pitch. The problem is the frequency resolution. I essentially get the
>> refresh
>> rate for resolution, e.g. 10 updates per second -> 10 Hz resolution.
>
> That is not true. Your resolution mainly depends on your sampling
> frequency.
I thought that if you did an FFT on 0.1 seconds of data the frequency
resolution would always be 10 Hz, no matter what sampling rate you used?
AIUI using higher sampling rates just lets you identify higher frequencies,
if you want more frequency resolution you need longer sample times. Hence I
recommend the OP just uses 2 seconds of audio data for the FFT rather than
0.1 seconds.
Post a reply to this message
|
 |