Next  |  Prev  |  Up  |  Top  |  REALSIMPLE Top

Pick-Direction Lowpass Filter

The EKS pick-direction lowpass filter is simply a unity-dc-gain one-pole filter with a different coefficient for an ``up-pick'' than for a ``down-pick''. Thus, the filter transfer function is

\begin{displaymath}
H_p(z) \;=\;\frac{1-p}{1 - p\,z^{-1}}
\end{displaymath}

where $p$ takes on two different (real) values (such as 0 and 0.9), depending on the picking direction. The idea is that real up-picks may be at different angles than down-picks, thus resulting in different plucking stiffness, among other possible effects.

In Faust, a unity-dc-gain one-pole filter can be defined by

    pickdir =  *(1.0-(p)) : + ~ *(p);
where p is the pole location. This pole position can be modulated by a pick-direction ``toggle'' signal as follows:
    p = 0.9 * checkbox("pick_direction"); // [0 or 0.9]


Next  |  Prev  |  Up  |  Top  |  REALSIMPLE Top

Download faust_strings.pdf

``Making Virtual Electric Guitars and Associated Effects Using Faust'', by Julius O. Smith III,
REALSIMPLE Project — work supported in part by the Wallenberg Global Learning Network .
Released 2013-08-22 under the Creative Commons License (Attribution 2.5), by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA