-
... finite // after 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 ) ...
-
... nc; Pdef(\pattern1).clear; Pdef(\pattern1).play(quant:1); Pdef(\pattern1, Pbind( \instrument, \f0SoundPlayer, \index, Pn(Pshuf((0..(z-1)), 4)), //index selector, scramble every 4th time \buf, Pfunc({|ev| b[ev.index]}), \am ...
-
... stance methods Examples ( s = Server.local; Server.default = s; s.boot; ) ( p = Pbind( \midinote, Pshufn((70..73), inf), \dur, 0.2 ); ) x = p.play; x.stop; ⧉ ✔ helpfile source: /tmp/scquark_hs/miSCellaneous_lib/HelpSource/Classes/Pshufn.sch ...
-
... ), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0.5pi, env)) }).add; Pbind(\instrument, \sinegrain, \note, Pseq([6, [3, 5, 8], 2, 0], inf), \dur, 0.25).play(quant: 2); ) // reset to normal: ( ~dirt.receiveAction = nil; TempoClock ...
-
... e: "); b = a.asStream; b.next; b.next; b.next; b.next; ⧉ ✔ in a running stream: Pbind( \degree, Pseq([1, 4, 1, Pwhite(0, 6, 3), 100, 39], inf).trace(prefix: "value: "), \dur, 0.2 ).play ⧉ ✔ post only a slot of the events Pbind( \degree, Pse ...
-
... dd; ); ) // play a pattern on clock t: // clock U following clock t: ( Pdef(\a, Pbind(\instrument, \ping, \degree, Pseq((0..7), inf), \dur, 0.25, \pan, -0.5, \amp, 0.5 ) ).play(t); Pdef(\b, Pbind( \instrument, \ping, \degree, Pseq((0..7), i ...
-
... SynthDemandPlayer, <>helpSynthReceivePlayer, <>trigMsgIDqueue, <>isPlaying, <>isPbindPlaying, <>demandIndexOffset, <>switchResumeDelay = 0, <>cleanupDelay = 0.01, <>justPlaying = false, <>justStopping = false; *new { arg pHelpSynthUse; ^sup ...
-
... 1).asStream.nextN(1000).plot; //similar PGbmanN(1).asStream.nextN(500).plot; a= Pbind(\dur, 0.1, \midinote, PGbmanN(1, mul:3, add:60)).play a.stop ⧉ ✔ helpfile source: /tmp/scquark_hs/UGenPatterns/HelpSource/Classes/PGbmanN.schelp link::Cla ...
-
... [1,2,3,4], inf ).asStream; a.exposeMethods(b,[ 'next' , 'reset' ]); s.boot; p = Pbind ( \freq , Prand ([300, 500, 231.2, 399.2], inf ), \dur , Prand ([0.1, 0.3], inf )); a = API ( 'p' ).exposeMethods(p,[ \play ]); // 6 methods a.functionNam ...
-
... .action_{ |v| a[i][j] = v.value; }; }; }; Ppar(a.collect({|c, r| Pbind( \instrument, \peep, \freq, Pif(Pseq(a[r], inf).coin, 100+(a.size-100*r), \rest), \dur, 0.25 )}), inf).play;