Reply to thread

Re: help with hz to octave conversion for dsp


Hi BJ,




If I follow correctly, it'll do almost what you need.  You know the centre frequency, fc, and bandwidth, w, so the filter Q is just fc/w.  Converting Q to octave bandwidth, n, you get:


    n = 2 * log((sqrt(4Q^2+1)+1)/2Q) / log(2)


So, for fc=2140, w=1248, the Q is 1.715 and the octave bandwidth is 0.830.


FWIW, though, I agree with Scott's advice to measure and compare the results.


Nick