Making Virtual Electric Guitars and Guitar Effects
Using Faust and Octave
Extended Karplus-Strong Algorithm
Two-Zero String Damping FilterSearch Physical Audio Signal Processing
Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?
A disadvantage of the decay-stretching parameter is that it affects
tuning, except when
. This can be alleviated by going to a
second-order, symmetric, linear-phase FIR filter having a transfer
function of the form [539]
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''));
