-
... \dur , 0.2).trace.play; // replace elements ~a[0] = 72.5; ~a[1] = 74.5; ~a[2] = Prand ([85, 86, 87]); // replace array // Ptuple and PLtuple start with new embedding of ALL patterns // if one ends, so here default repeats = inf of PLshuf ha ...
-
... alue Examples // the first argument can be a pattern, too: ( var a, b; a = Pdup(Prand([1, 2, 5], inf), Pwhite(-1.0, 1.0)); // repeat either once, twice, or five times x = a.asStream; 20.do { x.next.postln }; ) // using event patterns: ( Syn ...
-
... 0.1).softclip * 0.8); }, [\ir, 0]).add; ) ( var p, q, r, o; p = Pbind(\degree, Prand((0..7), 12), \dur, 0.3, \legato, 0.2); q = Pfx(p, \echo, \dtime, 0.2, \decay, 3); r = Pfx(q, \distort, \pregain, 20, \amp, 0.25); o = Pfx(r, \wah); Pseq([ ...
-
... -18).dbamp, 0).dbamp; noiseEnv = EnvGen.kr(Env.perc(attack, noiseDecay * TExpRand.kr(0.8, 1.25, trigger), curve: decayCurve), gate: trigger, doneAction: 0); noise = WhiteNoise.ar; noise = Select.ar(filterType, [BPF.ar(noise, f ...
-
... edge you have about how for example SinOsc works. generators: PClipNoise PDC PExpRand PFSinOsc PImpulse PIRand PLFPulse PLFSaw PLFTri PLine PMouseX PMouseY PMouseButton PPulse PRand PSaw PSilent PSinOsc PWhiteNoise PXLine modifiers: PBPZ2 P ...
-
... LFDNoise3.kr(freq, dev, center) }); p = PHS(h, nil, // default help synth args Prand([0.4, 0.2],inf), [ \midinote, Pkey(\val), \amp, 0.1 ], 0.1, [ \midinote, Pkey(\val) + 9.5 + Pxrand([0, 2, 5],inf), \amp, 0.08 ] ).play; ) // stop only hel ...
-
... st, repeats, offset) Play through the entire list repeats times. Like list.do . Prand(list, repeats) Choose items from the list randomly (same as list.choose ). Pxrand(list, repeats) Choose randomly, but never repeat the same item twice in ...
-
... ld just pass in your own protoEvent to the play method. ( Pbind ( \instrument , Prand ([ \help_SPE7_BerlinB , \help_SPE7_CFString1 ], inf ), \degree , Pseq ([0,1,2,4,6,3,4,8], inf ), \dur , 0.8, \octave , 3, \amp , 0.03 ).play; // this retu ...
-
... pattern you're sending in. // choose arpeggiation types at random from the list Prand ([ \up , \down , \random ], inf ) =>.arpeg BP ( \ch1 ); A Symbol may be used to retrieve a predefined pattern from the Pdefn class; if the Pdefn doesn't e ...
-
... pattern you're sending in. // choose arpeggiation types at random from the list Prand ([ \up , \down , \random ], inf ) =>.arpeg BP ( \ch1 ); A Symbol may be used to retrieve a predefined pattern from the Pdefn class; if the Pdefn doesn't e ...