The question we now pose is how to best compensate the tunable two-pole resonator of §10.1.3 so that its peak gain is the same for all tunings. Looking at Fig.10.18, and remembering the graphical method for determining the amplitude response,11.5 it is intuitively clear that we can help matters by adding two zeros to the filter, one near dc and the other near . A zero exactly at dc is provided by the term in the transfer function numerator. Similarly, a zero at half the sampling rate is provided by the term in the numerator. The series combination of both zeros gives the numerator . The complete second-order transfer function then becomes
which is better behaved, but now the response falls to zero at dc and rather than being heavily boosted, as we found in Eq. (10.12).