-
... ition. This also works on single values: Pn(1, 5) outputs the number 1 5 times. Pstutter(n, pattern): 'n' and 'pattern' are both patterns. Each value from 'pattern' is repeated 'n' times. If 'n' is a pattern, each value can be repeated a di ...
-
... nd ( \dur , Prand ([1, 0.5], inf ), \freq , Pwhite (200.0, 1000, inf ), \rate , Pstutter (4, Prand ([1, 3, 6, 10], inf )), \dt , Pwhite (0.01, 0.1, inf ) ) ); // modify the source in the meanwhile: a[0] = { |freq = 440, dt=0.1, rate=2| Ring ...
-
... ranspose: 0 + Pwhite (-0.1, 0.1)]), Pbind (*[mtranspose: Pkey ( \mtranspose ) + Pstutter (8, Prand ([0,[-3,0,2],[0,2,4,6,8,10]], inf )) ] ), Pn ( Pseq ([p, (type: \rest , dur: 0.4)]) ), Pbind (*[ db: Pstep ( Pseq ([-10, -13, -13, -11, -13, ...
-
... ultiple patterns: ( x = Ppar ([ Pbindf ( Pn ( Pdef ( \a ), inf ), \gtranspose , Pstutter (8, Pseq (#[0, 2, 0, 3], inf )) ), Pbindf ( Pn ( Pdef ( \a ), inf ), \gtranspose , Pstutter (8, Pseq (#[7, 4, 0, 3], inf )), \dur , 0.6 ), Pbindf ( Pn ...
-
... nt, pattern ) - play n events from the pattern Pfin (12, Pn (p, inf )).play; // Pstutter( eventRepetitions, pattern ) - repeat each event from the pattern n times Pstutter (4, q).play //Pwhile(function, pattern) Pwhile ({coin(0.5).postln;}, ...
-
... . Pn(pattern, repeats) -- repeat the pattern as many times as repeats indicates Pstutter(n, pattern) -- repeat individual values from a pattern n times. n may be a numeric pattern itself. You can use patterns inside of other patterns. Here, ...
-
... gato , Pseq ([0.5, 1, 2.3], inf ), \recursionLevel , 3, \n , 3, \transparency , Pstutter (8, Prand ([0, 1, 2], inf )) ).play ) // to modify this recursion, assign values explicitly: ( Pdef ( \sweep , { arg dur=1, n=4, ratio=0.5, freq=440; v ...
-
... utput. s.boot; SynthDescLib .global.read; p = Pbind ( \degree , Pwalk ((0..14), Pstutter ( Pwhite (1, 4, inf ), Prand (#[-2, -1, 1, 2], inf )), Pseq (#[-1, 1], inf ), 0), \delta , 0.25, \sustain , 0.2, \instrument , \default ).trace.play; p ...