-
... me common cases: Pseq([1, 2, 3]) + 2; Pseq([1, 2, 3]) / Pseq([3, 4, 5, 6]); max(Pwhite(-10, 10, inf), Pseq([0, 2, 3, 4])); ⧉ ✔ // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05, amp = 0.1| var env; env = En ...
-
... d, \hh, \cp, \imp], 5)), \begin, Pn(Pseries(0, 0.002, 20)), \dur, 0.1, \legato, Pwhite(0.01, 0.4) ) ).play; ) // using a filter ( Pdef(\x, Pbind( \type, \dirt, \s, Pn(Pshuf([\bd, \hh, \cp, \imp], 5)), \begin, Pn(Pseries(0, 0.002, 20)), \ban ...
-
... All // play an Event with midinote 70 (m: 70).play // play a Pbind ( Pbind( \m, Pwhite(60, 90, 20) + [0, -7], // midinote \p, Pwhite(-1.0, 1), // pan \l, 3, // legato \s, 0.1, // strum \d, 0.5 // dur ).play ) // define new dictionary based ...
-
... // Two ( ~two = Pbind( \instrument, "granny1", \rate, 10, \amp, Pwhite(0.1, 0.9), \startPos, Prand([0.24, 0.33, 0.66, 0.89], 32), // this one ENDS after 32 notes \attack, 0.01, \release, 0.1, \buffer, b, // ...
-
... ,24)],inf), \modfreq, 2000, // try higher numbers here \pmindex, Pwhite(2, 3), \amp, 0.3, \attack, 1, \release, Pwhite(0.1, 0.3), \pos,Pseq([Pseq([1],8),Pseq([1],8),Pseq([1],8),Pseq([1],8)],inf), ...
-
... [Pseq([3, 4, 5], inf), Pseq([9, 7], inf)]); a.asStream.all; ) // common cases: Pwhite(0, 1, inf).linexp(0, 1, 200, 1000); Pwhite(0, 1, inf).degreeToKey([0, 1, 3, 5, 7, 9, 11], 10); blend(Pseq([1, 2, 3], inf), Pseq([3, 2, 1, 0], inf), Pseri ...
-
... nel expansion Pdef(\demo, Pbind( \instrument, \sin, \degree, Pseq([0, Pwhite(0,7,1)],inf), \legato, 0.5, \adsr, Pseq([ [ Env.adsr(1.1,0.1,0.8,1.01) ], [ Env.adsr(0.01,0.1,0.8,0.01) ], [ Env.adsr(0.01,1.1,0.3,0.01 ...
-
... eturns control to the parent upon nil from either branch. p = Pbind ( \degree , Pwhite (0, 11, inf ), // odd numbered scale degrees get a shorter rhythmic value \dur , Pif ( Pkey ( \degree ).odd, 0.25, 0.5) ).play; p.stop; Pseed(randSeed, p ...
-
... ); ~temple = Pbind( \instrument, "grain-asr", \buffer, b, \startPos, Pwhite(0.10, 0.15), \dur, 1/2, \att, 0.31, \rel, 0.5, \rate, Pseq([1, 5, 3, 3.3], 3), \amp, Pwhite(0.02, 0.95), \pan, Pwhite(-1.0, 1.0), \legato, ...
-
... t: 0).asStream; p.nextN(10); [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ] p = Paccum (step: Pwhite (1, 5, inf ), length: inf , start: 0).asStream; p.nextN(10); [ 0, 4, 8, 10, 11, 14, 17, 18, 23, 25 ] p = Paccum (step: Pwhite (1, 5, inf ), length: inf , ...