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
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]