-
... 0], compactPatterns: false , inChannels: 2, def: \bufGrainPan , argPairs: [pan: Pwhite (-1.0, 1.0, inf )] )); ) BP ( \ex2 ).play; BP ( \ex2 ).stop; BP ( \ex2 ).free; // Auto-generated rhythm, calculating 16-element arrays then shrinking the ...
-
... holder may also get event patterns ( p = PL ( \a , 1); ~a = Pbind ( \midinote , Pwhite (80, 85), \dur , 0.2 ); x = p.play; ) // replace, PL had repeats = 1, so ... ( ~a = Pbind ( \midinote , Pseq ((70..65)), \dur , 0.05 ); ) /////////////// ...
-
... the normal midi 0-127. Example: ~high = Pbind( \track, 1, \channel, 0, \degree, Pwhite(-8, 8), \octave, 6, \scale, #[0,2,3,5,7,8,10], \dur, Prand( [0.25, 0.5, 0.75, 1], inf) ); ~low = Pbind(\track, 2, \channel, 0, \degree, Pwhite(-3, 8), \o ...
-
... val| var localGenerators = generators.value; ^Pfin(length.value, Pn(PstepNadd(*(Pwhite(0.0, 1.0, 2) ! localGenerators)), inf) / localGenerators * (hi - lo) + lo ).embedInStream(inval); } } Pmcvoss : Pvoss { embedInStream { |inval| var count ...
-
... , \server , r.servers[r.nickname], \zzf , Pseq ([8700, 800, 720], inf ), \mod , Pwhite (0.1, 0.7, inf ), \dur , Prand ([0.3, 0.5, Pn (0.04, 5)], inf ) ) ).play ) // send synth messages to random participants: ( Pdef ( \x , Pbind ( \instrume ...
-
... nherits from Stream any instance can be used as any other Pattern (Pseq, Prand, Pwhite etcetc.). For more info check out the CVCenter- resp. CVWidget-helpfile. Installation ------------ 1. get SuperCollider from https://supercollider.github ...
-
... , 2, \degree, Pseq([1,8,8,8,8,8,8,-6,Prand([9,10,11],1),1,7,8]-8, inf), \amp , Pwhite(0.2,0.8), \c3 , Pseq([Pseq([1400],24),Pseq([300],24)],inf), \pan , Pwhite(-1,1), ).play; ) */ /* ~nodeName="sourceC:spatOSCsource_0".asSymbol; ~createSou ...
-
... ther PHSuse ( w = PHSuse (h, 0.15, [ \midinote , 130 - Pkey ( \val ) + [0, 5] + Pwhite (7.0, 10.0) /* mirror at center frequency + random add */ , \amp , Pwrand ([0.03, 0.07], [0.7, 0.3], inf ) ]); z = w.play(c,q); ) // resume x x.play(c,q) ...
-
... , Pshuf ((0..11), inf ) + Pseq ([[0.2, 14.2], [0, 4], [0, 4]], inf ), \octave , Pwhite (3, 6), \out , Pseq ([b, a, a], inf ) // here we do fx sequencing ).play ) p.stop // we need to do cleanup manually here [x, y, a, b].do( _ .free); Ex. 4 ...
-
... assigning or chucking a numeric pattern to the ~macro variable in the process. Pwhite (1, 4, inf ) =>.macro BP ( \mel ); // rest randomly 1, 2, 3 or 4 beats between each phrase // or: BP ( \mel ).macro = Pwhite (1, 4, inf ); // same result ...