-
... nd = Saw.ar(freq!2); Out.ar(0, env*snd); }).add; ) // Play chord seq ( Pbind( \instrument, \simpSaw1, \freq, Pseq(~crdArray + 24, inf).midicps, \dur, 2.5*Pseq([1, 0.375, 0.625, 1, 1], 1), \sustain, 2.55*Pseq([1, 1, 0.625, 1 ...
-
... = 1e-6| ^super.new({ var g = Group(), cleanup = EventStreamCleanup.new; Pseq([ Pbind( \instrument, defname, \type, Pseq([\on]), \dur, offset, \group, g, \cleanup, Pfunc { |e| cleanup.addFunction(e, { g.release }) } ), Ptpar(setPatternPairs ...
-
... ing * env, pan)); }).add; ); ( Pdef(\stock, { |note = 0, sustain = 1| Pbind( \instrument, [\dollar, \euro].choose, \note, note.value + Pseq((12..0).curdle(0.1).scramble.flat * 3), \dur, sustain.value / 12 ) }) ); ...
-
... t source, max deviation +/- 3 // no repetition within 5 pitches ( ~in = 72; p = Pbind ( \dur , 0.2, \midinote , PLIdev ( \in , 5, -3, 3).trace(prefix: "midi " ), ).play; ) // change source ~in = 65 p.stop Ex.2) Variable deviations and lookB ...
-
... def(\fx).quant=4; ); ( Pdef(\wobble).play; Ndef(\fx).play; Pdef(\wobble, Pbind( \instrument, \wobble, \out, ~bus, \freq, Pseq([50,60,40],inf) + [0,1], \legato, 1, \dur, Pseq([1/4,1/8,1/8]*8,inf); )); Ndef(\fx, { arg ffr ...
-
... [[300, 400, 500, 600], 450 ! 4], [450 ! 4, [300, 400, 500, 600]] ], 1 ); Pbind( \instrument, \bank, #[startFreqs, endFreqs], freqPairs, \dur, 3600, \vol, 1.0, \amp, 0.9 ).play; ) // for recording ( var options = Se ...
-
... .collect(_.name); Pchain( (type: \set, id: { proxy.group.nodeID }, args: args), Pbindf( pattern, \play, Pfunc { |e| args.do { |n| e[n] !? { proxy.seti(n, e.channelOffset, e[n]) } }} ) ).buildForProxy(proxy, channelOffset, index) } ); // man ...
-
... ier, pos: pos, level: env); Out.ar(0, carrier * 0.5); }).add; ) ( ~snd1 = Pbind( \instrument, "am1", \midinote, Prand([ [72, 77, 79], [79, 82, 86], [87, 86, 84], [82, 84, 79], ], 8), \ctranspose, Prand([- ...
-
... ities of this device: a.caps; // boot the server s.boot; // simple example: p = Pbind( \degree, ( PhidSlot( 0, 3, a, inf )*12 ).round(1), \dur, 0.25 ).play; p.stop; // more complex example, showing multichannel expansion and sequences of sl ...
-
... .maxItem.ceil); // for pitch (non-tempered) -- default number of generators p = Pbind ( \midinote , Pmcvoss (48, 72), \dur , 0.125 ).play; p.stop; // for pitch (non-tempered) -- fewer generators = 4 // leaps between notes are larger on aver ...