p0 = output start time (seconds) p1 = input start time (seconds) p2 = input duration (seconds) p3 = amplitude multiplier (relative multiplier of input signal) p4 = delay time (seconds) p5 = delay feedback (regeneration multiplier, 0-1) p6 = ring-down duration (seconds) p7 = input channel [optional, default is 0] p8 = pan (0-1 stereo; 0.5 is middle) [optional; default is 0] p3 (amplitude), p4 (delay time), p5 (feedback) and p8 (pan) can receive dynamic updates from a table or real-time control source.
DELAY can produce mono or stereo output.
Sample Scores
very basic:
rtsetparams(44100, 1) load("DELAY") rtinput("somesound.aif") DELAY(0, 0, 7, 0.7, .14, 0.7, 3.5) DELAY(3.5, 0, 7, 0.9, 1.4, 0.3, 5)
rtsetparams(44100, 2, 512) load("DELAY") rtinput("AUDIO") ampenv = maketable("line", 1000, 0,0, 1,1, 90,1, 100,1) DELAY(0, 0, 14, 0.7*ampenv, .078, 0.8, 3.5, 0, 0.1) ampenv = maketable("line", 1000, 0,0, 50,1, 90,1, 100,0) panner = makeLFO("sine", 0.5, 0, 1) DELAY(7, 0, 10, 1*ampenv, .415, 0.5, 3, 0, panner)