p0 = output start time (seconds) p1 = input start time (seconds) p2 = duration (seconds) p3 = amplitude multiplier (relative multiplier of input signal) p3 (amplitude) can receive dynamic updates from a table or real-time control source. Author: John Gibson, 5/21/06
y[n] = x[n] - x[n-1] + 0.99*y[n-1]where y[n] and y[n-1] are the current and previous outputs of the equation, respectively, and x[n] and x[n-1] are the current and previous sample inputs to the filter equation.
The sound itself should be relatively unchanged by DCBLOCK.
Sample Scores
very basic:
rtsetparams(44100, 2)
load("DCBLOCK")
rtinput("mysound.aif")
DCBLOCK(0, 0, DUR(), 1.0)