Sign in

username:

password:



Not a member?

Search Online Books



Search tips

Free Online Books



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?

  

Two-Zero String Damping Filter

A disadvantage of the decay-stretching parameter is that it affects tuning, except when $ S=0$. This can be alleviated by going to a second-order, symmetric, linear-phase FIR filter having a transfer function of the form [539]

$\displaystyle H_d(z) = g_1 + g_0 z^{-1}+ g_1z^{-2}= z^{-1}\left[g_0 + g_1(z + z^{-1})\right].
$

Due to the symmetry of the impulse response $ h_d=[g_1,g_0,g_1,0,0,\ldots]$ about time $ n=1$, only two multiplies and two additions are needed per sample. The previous one-zero loop-filter required one multiply and two additions per sample. Since the delay is equal to one sample at all frequencies (in the needed coefficient range), we obtain tuning invariance for the price of one additional multiply per sample. We also obtain a bit more lowpass filtering. Listening to the example in Fig.D.10, one might agree that the one-zero loop filter has a ``lighter, sweeter'' tone than the two-zero case. In general, the tone is quite sensitive to the details of all filtering in the feedback path in Fig.4.13.

See §4.7.2 for a derivation of the FIR filter coefficients h0,h1 as a function of brightness B. A Faust implementation may then be written as follows:

  t60 = hslider("decaytime_T60", 4, 0, 10, 0.01);  // sec
  B = hslider("brightness", 0.5, 0, 1, 0.01);        // 0-1

  rho = pow(0.001,1.0/(freq*t60));
  h0 = (1.0 + B)/2;
  h1 = (1.0 - B)/4;
  dampingfilter2(x) = rho * (h0 * x' + h1*(x+x''));


Order a Hardcopy of Physical Audio Signal Processing

Previous: One-Zero String Damping Filter
Next: Dynamic Level Lowpass Filter

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 Cen