worldveil / dejavu

Audio fingerprinting and recognition in Python
MIT License
6.36k stars 1.43k forks source link

How to change frequency bins in specgram to improve recall rate? #200

Closed thesby closed 4 years ago

thesby commented 5 years ago

I find that bins of frequency of specgram is exactly NFFT/2 + 1. But how can change the bins of frequency, and not change the NFFT ? NFFT affects how many sample to use in FFT. But why does it also affect bins of frequency?

worldveil commented 4 years ago

https://electronics.stackexchange.com/questions/12407/what-is-the-relation-between-fft-length-and-frequency-resolution