PPeak UGenPatterns quark library


superclass: PPulseCount


based on Peak


PPeak(pattern, reset)

pattern

reset (default: 0)



// example

s.boot;

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

a.stop

a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PPeak(PSaw(12), PSinOsc(14)).trace*0.5).play

a.stop