-
... = Pwhite(-30, -20, inf); // amps ~amp1 = Pwhite(0.015, 0.03, inf); ~amp2 = Pwrand([ Pwhite(0.025, 0.05, 1), 0], [80, 20].normalizeSum, inf); ~amp3 = Pwrand([ Pwhite(0.025, 0.9, 1), 0], [20, 80].normalizeSum, inf); // frequenc ...
-
... =44, {a.reverse+midinote}, {a+midinote}); p = Pbind( \midinote, Pstutter(Pwrand([1, 3, 5], [0.1, 0.8, 0.1], inf), Pseq(notes)), \dur, 0.1, \amp, velocity/127 * 0.8, \legato, 0.1, \ctranspose, Pstutter(8, Pwhite(0, 36) ...
-
... Pdfsm , Pfpar , Pfsm , Ppar , Prand , Pseq , Pshuf , Pslide , Ptuple , Pwalk , Pwrand , Pxrand … see all See also: FilterPattern Class Methods Inherited class methods Undocumented class methods ListPattern. new ( list , repeats: 1 ) Instan ...
-
... ts7 ] - Practical Considerations Specific classes: ListPatterns Pseq Pser Prand Pwrand Pxrand Pshuf Place Ptuple Pslide Pfsm Place ... FilterPatterns Pseed Prewrite Pswitch Pswitch1 Pn Pstutter Pfin Psync Pcollect Pselect Preject PdurStutte ...
-
... nthDescLib .global.read; ( p = Pbind ( \degree , Pwhite (0, 11, inf ), \delta , Pwrand (#[0.125, 0.25, 0.5], #[1, 4, 2].normalizeSum, inf ), \sustain , Pkey ( \delta ) * Pwhite (0.8, 1.8, inf ), \instrument , \default ).collect({ |ev| [ev.d ...
-
... nthDescLib .global.read; ( p = Pbind ( \degree , Pwhite (0, 11, inf ), \delta , Pwrand (#[0.125, 0.25, 0.5], #[1, 4, 2].normalizeSum, inf ), \sustain , Pkey ( \delta ) * Pwhite (0.8, 1.8, inf ), \instrument , \default ).collect({ |ev| [ev.d ...
-
... ach repeat, but Pxrand never repeats the same element twice in a row. see also: Pwrand ( var a, b; a = Pxrand .new(#[1, 2, 3], 10); // return 10 items b = a.asStream; 11.do({ b.next.postln; }); ) Pxrand used as a sequence of pitches: ( Synt ...
-
... progress. Example // Recursively ornament a melody ( var intervals = Pseries(0, Pwrand(#[-2, -1, 1, 2], #[0.1, 0.2, 0.4, 0.3], inf), { rrand(2, 5) }); p = Pbind( \root, 7, \degree, PpatRewrite( Pseq(#[2, 5, 4], 1), Pseries(0, 1, 5), [ // in ...
-
... progress. Example // Recursively ornament a melody ( var intervals = Pseries(0, Pwrand(#[-2, -1, 1, 2], #[0.1, 0.2, 0.4, 0.3], inf), { rrand(2, 5) }); p = Pbind( \root, 7, \degree, PpatRewrite( Pseq(#[2, 5, 4], 1), Pseries(0, 1, 5), [ // in ...
-
... th a randomly generated rhythm. The catch is that we have no assurance that the Pwrand \dur pattern will add up to exactly 4 beats. The Pfindur ("finite duration") pattern cuts off the inner Pbind after 4 beats. This would stop the pattern, ...