Sign in

username:

password:



Not a member?

Search Online Books



Search tips

Free Online Books

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Chapters

Chapter Contents:

Search Physical Audio Signal Processing

  

Book Index | Global Index


Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?

  

Tuning by Allpass Interpolation

To avoid affecting the damping of the string loop, allpass interpolation is a good choice. (See §3.2 for an overview of allpass interpolation.) The simplest case is first-order allpass interpolation, as used in the original EKS algorithm []:

$\displaystyle H_\eta(z) = -\frac{\eta - z^{-1}}{1 - \eta z^{-1}}
$

Calculating the phase delay and looking at the low-frequency limit, we find that the low-frequency delay (in samples) approaches

$\displaystyle \Delta_\eta(0) = \frac{1+\eta}{1-\eta},$    or $\displaystyle \zbox {\eta = \frac{\Delta_\eta - 1}{\Delta_\eta + 1}.} \protect$ (D.8)

When $ \eta=0$, the delay is one sample, and when $ \eta=-1$, the delay is zero (due to a pole-zero cancellation in the allpass). The pole is at $ z=\eta$ and the zero is at $ z=1/\eta$. Since the pole should be well inside the unit circle to avoid stability problems, we use an offset one-sample delay range, as in the original EKS algorithm:

\begin{eqnarray*}
\eta \in [-2/3,1/11]
&\longleftrightarrow& \Delta_\eta \in [...
...}\\
&\iff& P-N-1 \in [0.2,1.2] \\
&\iff& N \in [P-1.2,P-2.2]
\end{eqnarray*}

where $ P=f_s/F_0$ is the desired period in samples.


Order a Hardcopy of Physical Audio Signal Processing

Previous: Tuning by Linear Interpolation
Next: Tuning by Lagrange Interpolation

written by Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See http://ccrma.stanford.edu/~jos/ for details.