-
... m. // \b should thus take twice the value of \a in each event: p = Pbind ( \a , Pwhite (1, 10, inf ), \b , Pkey ( \a ) * 2).asStream; p.next(()) // for Pbind, must pass in a default event even if empty ( 'a' : 10, 'b' : 20 ) ( 'a' : 2, 'b' ...
-
... ], inf)), \amp, 0.9, \atk, Pkey(\dur)*0.5, \dcy, Pkey(\dur)*0.05, \sus, Pwhite(0.4, 0.7, inf), \rls, Pkey(\dur)*0.4, \rq, Pwhite(1, 0.3,inf), \aux, ~verbBus, \auxsend, 0.1, ); ) // let's play it Pbindef(\cello_lick).p ...
-
... previous value in any perceptible way). The random number generator patterns ( Pwhite ) return one element before yielding control back to the "selector" ( Pwrand ). \degree , Pwrand ([ Pwhite (-7, 11, 1), Pwhite (7, 18, 1)], #[0.7, 0.3], ...
-
... ce any number of independent streams. a = PatternProxy.new; a.source = Pgeom(1, Pwhite(1.01, 1.2), inf); b = a.asStream; c = a.asStream; b.next; b.next; b.next; c.next; // c is independent from b c.next; a.source = Pgeom([1, 2, 3], Pwhite(1 ...
-
... , 1/2, 1/2, 2, 2/6, 1/6, 1/2, 1/2, 1/2, 1/2, 3/2, 2/6, 1/6, 3/4, 1, 1/2 ], 1) * Pwhite(1.2, 1.8), \freq, Pseq([ 67, 67, 69, 67, 72, 71, 67, 67, 69, 67, 74, 72, 67, 67, 79, 76, 72, 71, 69, 77, 77, 76, 72, 74 ] + 35, 1).midicps.pow(0.9), \amp ...
-
... uant = value . resume Examples ( // a pattern with long notes p = Pbind( \freq, Pwhite(0, log(32)).exp.round(1) * 36.midicps, \detune, Pfunc({ |ev| ev[\freq] * rand(0.01) }), \sustain, Pwhite(log(0.1), log(20)).exp, \dur, Prand([0.1, 0.1, 0 ...
-
... 0, 0, 0, 0, 0, 0, 0, 0], argPairs: [decayscale: BPStream ( \dscale )], dscale: Pwhite (0.8, 1.7, inf ), pbindPreAction: { var pool = (4..15).scramble; ~amps = ~ampbase.copy; rrand(3, 7).do({ |i| ~amps[pool[i]] = rrand(0.2, 0.7); }); } )); ...
-
... 0, 0, 0, 0, 0, 0, 0, 0], argPairs: [decayscale: BPStream ( \dscale )], dscale: Pwhite (0.8, 1.7, inf ), pbindPreAction: { var pool = (4..15).scramble; ~amps = ~ampbase.copy; rrand(3, 7).do({ |i| ~amps[pool[i]] = rrand(0.2, 0.7); }); } )); ...
-
... 1wlk01-44_1.aiff" ], def: \bufGrainPan , bufIndex: Prand (#[0, 1], inf ), time: Pwhite (1, 3, inf ) * 0.25, rate: Pwhite (0.9, 1.5, inf ), start: Pfunc ({ |ev| rrand(0.0, ~buffers[ev[ \bufIndex ]].duration - (ev[ \time ] * ev[ \rate ])) * ~ ...
-
... 1wlk01-44_1.aiff" ], def: \bufGrainPan , bufIndex: Prand (#[0, 1], inf ), time: Pwhite (1, 3, inf ) * 0.25, rate: Pwhite (0.9, 1.5, inf ), start: Pfunc ({ |ev| rrand(0.0, ~buffers[ev[ \bufIndex ]].duration - (ev[ \time ] * ev[ \rate ])) * ~ ...