/* FIR: simple fir filter instrument * * p0 = outsk * p1 = insk * p2 = dur * p3 = amp * p4 = total number of coefficients * p5... the coefficients (up to 99 fir coefficients) * * (no amplitude control, does channel 0 of both input and output only) * */
rtsetparams(44100, 2) load("FIR") rtinput("bob.dole.snd") rtoutput("bob.dole.filtered.snd") FIR(0, 0, 7.0, 0.7, 7, 0.9, 0.1, 0.69, -0.49, 0.314, 0.2, 0.09)