PTrig UGenPatterns quark library


superclass: PTrig1


based on Trig


PTrig(pattern, dur)

pattern

dur (default: 1)



// example

s.boot;

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

a.stop

a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PTrig(PSinOsc(PSinOsc(8, 0, 4))).trace*0.5).play

a.stop