PLastValue UGenPatterns quark library

superclass: FilterPattern

based on LastValue

PLastValue(pattern, diff)

pattern

diff (default: 0.01)

// example

s.boot;

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

a.stop

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

a.stop