-
... 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 ...
-
... seq(m.reverse, inf), \dur, Pseq([Pn(0.5, 5), 1.5], inf), \ctranspose, Pwrand([-12, -7, -24], [0.8, 0.1, 0.1], inf), \amp, 0.08, ).play; )
-
... seq(m.reverse, inf), \dur, Pseq([Pn(0.5, 5), 1.5], inf), \ctranspose, Pwrand([-12, -7, -24], [0.8, 0.1, 0.1], inf), \amp, 0.08, ).play; )
-
... r(0, klang); }).store; Pbind( \instrument, \pluck, \degree, Pn(Pseries(0, Pwrand([Pwhite(-3,3,inf).round(1),1],[32,1],inf), 4),inf)-1 + [0,2,-1,-14], \dur, Pseq([4, [5,2,1]].convertRhythm / 2, inf), \strum, Pwhite(0,1/8,inf), \octa ...
-
... up to 1.0) repeats number of values to return Discussion: structurally related: Pwrand , TWindex , TWChoose Inherited class methods Instance Methods Inherited instance methods Examples ( { var a, freq, trig; a = Dwrand([0, 1, 2, 7], [0.4, 0 ...
-
... tern Embed one item from the list at random for each repeat. see also: Pxrand , Pwrand ( var a, b; a = Prand ([1, 2, 3, 4, 5], 6); // return 6 items b = a.asStream; 7.do({ b.next.postln; }); ) // return also a subpattern: ( var a, b; a = Pr ...
-
... //////////////////// // 4 (~fm11[8] = \set -> Pbind( \trig, 1, \delta, Pwrand([Rest(0.5), 0.5], [0.2, 0.8], inf), \beatDur, Pfunc({thisThread.clock.beatDur}), \dur, Pkey(\beatDur) * Pkey(\delta) * 1, \sus, Pkey(\dur) * 0.05 ...
-
... ind(*[ // or maybe ppar for independent partition method: \par, tag: Pwrand([\break,\steady,\transit], [1,3,1].normalizeSum, inf), // part tag - Pfsm?.. repeatability: Pwrand([true,false], [0.1,0.9], inf), delta: Pfunc( ...
-
... dinote , 130 - Pkey ( \val ) + [0, 5] /* mirror at center frequency */ , \amp , Pwrand ([0.03, 0.07], [0.7, 0.3], inf ) ]); c = TempoClock (1); q = 0.3; ) // start first player x = u.play(c,q); // "stepping in" with second player at (with r ...