-
... // post time in a playing event stream ( Pbind( \pfunc, Ptime.new.trace, \dur, Pseries(0.5, 0.5, 5) ).play; ) // change degree independant of number of events that have been playing ( var a, b; a = Pbind( \degree, Pswitch(#[0, 2b, 3], Ptim ...
-
... ", -1, 0, 0, \freq, rrand(600, 640)); 0.1.wait; } } ) ( x.source = { var x; x = Pseries(300, 20, 100).loop.asStream; loop { s.sendMsg("/s_new", "pdef_grainlet", -1, 0, 0, \freq, x.next); 0.05.wait; } } ) ( x.source = { var x; x = Plazy { Ps ...
-
... , Pconst(1, Prand([1, 0.02, 0.2], inf)), \instrument, \help_sinegrain, \degree, Pseries(0, 1, inf), \octave, 6 ) ).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pconst.schelp link::Classes/Pconst::
-
... ime (see Quant ). Triggering a pattern by a GUI ( var pattern = Pbind( \degree, Pseries(7, Pwhite(1, 3, inf) * Prand(#[-1, 1], inf), inf).fold(0, 14) + Prand(#[[0, -2, -4], [0, -3, -5], [0, -2, -5], [0, -1, -4]], inf), \dur, Pwrand(#[1, 0.5 ...
-
... a few events, it stops and the Pspawner forgets about it sp.par(Pbind( \degree, Pseries(rrand(-5, 7), #[-1, 1].choose, rrand(4, 7)), \pan, rrand(-1.0, 1.0), \dur, rrand(0.1, 0.3) // duration is chosen once for each pattern )); // tell the S ...
-
... 6], 2), inf)); ( Pdefn(\deg, Plazy { var pat; pat = [Pshuf([0, 3, 2, 7, 6], 2), Pseries(0, 1, 11), Pseries(11, -1, 11)].choose; Pn(pat, inf) }); ) ⧉ ✔ Timing When does the definition change? If quant is set, the update is done at the next b ...
-
... Pbind( \dur, Prand([1, 0.02, 0.2], inf), \instrument, \help_sinegrain, \degree, Pseries(0, 1, inf), \octave, 6 ); Pn( Pfindur(1, c) ).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pfindur.schelp link::Classe ...
-
... tion: 2) },[ Sample("a11wlk01.wav"), Pbrown(0,1,0.1,inf), Prand( Array.fill(4,{ Pseries(rrand(-20,30),[2,-2].choose,rrand(5,20)) }),inf).midiratio, Env.sine(0.2,0.4) ],0.06).play ) ⧉ ✔ Class Methods . latency . new Arguments: func As per Pa ...
-
... value } + adjust; }; }; ev = ev.yield; }; }); ) ⧉ ✔ Examples p = Pbind(\degree, Pseries(0, 1, 8), \dur, 0.25); p.play; // straight 16ths // swingBase: 0.25: Every other 16th-note is delayed // swingAmount: 1/3: Off-beat notes will be delaye ...
-
... ( f = { |g = 0, h = 0, dur = 1| Pbind(\degree, Pseq([g, g, h, g, h], 2), \dur, Pseries(dur, 0.1)) }; // compare: a = Pchain(PlazyEnvirN(f), (g: [1, 2], h: 3, dur: 0.2)).trace(\degree).asStream; c = Pchain(Plazy(f), (g: [1, 2], h: 3, dur: 0 ...