Use the peak frequency to determine the closest bin index, then look in that bin?
frequency = bin_number * sampling_freq / FFT_size
so
bin_number = frequency * FFT_size / sampling_freq.
Use the peak frequency to determine the closest bin index, then look in that bin?
frequency = bin_number * sampling_freq / FFT_size
so
bin_number = frequency * FFT_size / sampling_freq.