PLatch UGenPatterns quark library


superclass: FilterPattern


based on Latch


PLatch(pattern, trig)

pattern

trig (default: 0)



// example

s.boot;

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

a.stop

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

a.stop