PDelay2 UGenPatterns quark library


superclass: PDelay1


based on Delay2


PDelay2(pattern, mul, add)

pattern

mul (default: 1)

add (default: 0)



// example

s.boot;

a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PDelay2(Pseq([0, 2, 4, 5], inf), 2, 4).trace+50).play

a.stop

a= Pbind(\dur, 1/6, \legato, 0.2, \abc, Pseq([3, 2, 2, 0, 2, 2, 2], inf), \degree, Pkey(\abc), \amp, PDelay2(Pkey(\abc), 0.25).trace).play

a.stop