calculate spectral bins from desired freq range, framerate, and temporal window