PImpulse UGenPatterns quark library

superclass: Pattern

based on Impulse

PImpulse(freq, phase, mul, add, length)

freq (default: 440)

phase (default: 0)

mul (default: 1)

add (default: 0)

length number of values produced (default: inf)

// example

s.boot;

a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PImpulse(8, 0, 10, 60).trace).play

a.stop

a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PImpulse(4*PSinOsc(16, 0, 0.1, 1), 0, 0.5, 0.125).trace).play

a.stop