Setting the Allpass Phase Delay to a Desired Frequency

A fundamental frequency $ f_1$ has a corresponding period of

$\displaystyle P_1=f_s/f_1$    samples$\displaystyle .$

The model should then have a phase delay of

$\displaystyle N + P_a(f_1) + P_c(f_1) = P_1$    samples$\displaystyle .$

where $ P_a(f_1) = 1/2$ for the two-point averager.

The delay line length $ N$ becomes

$\displaystyle N \triangleq$   Floor$\displaystyle (P_1 - P_a(f_1) - \epsilon),
$

where $ \epsilon$ is a number much less than 1, that was used to shift $ P_c(f_1)$'s one-sampe delay range above 0 to 1.

The fractional phase delay (in samples) for the allpass interpolator becomes

$\displaystyle P_c(f_1) \triangleq P_1 - N - P_a(f_1).
$


``Music 206: Introduction to Delay and Filters II'' by Tamara Smyth, Computing Science, Simon Fraser University.
Download PDF version (filtersDelayII.pdf)
Download compressed PostScript version (filtersDelayII.ps.gz)
Download PDF `4 up' version (filtersDelayII_4up.pdf)
Download compressed PostScript `4 up' version (filtersDelayII_4up.ps.gz)

Copyright © 2019-04-18 by Tamara Smyth.
Please email errata, comments, and suggestions to Tamara Smyth<trsmyth@ucsd.edu>