-
... .kr(2) + 400 }; ~freq[5] = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\freq, Pfunc({ 1.2.rand })); ~z = 9; ~out.set(\freq, 760, \ffreq, 20); ) p.asCompileString; // the document message creates a new document which it posts ...
-
... s; s.boot; ) // definition for future reference in arbitrary Environments ( p = Pbind( \midinote, PLgbrown(\lo, \hi, \step) + [0, -7.4, -12.7], \dur, 0.1, \amp, 0.05 ); ) // prepare Environments ( e = (lo: 65, hi: 90, step: 0.01); f = e.cop ...
-
... 1, 200, 8000), 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 ...
-
... when used as an input of a pattern, it will return itself endlessly (e.g. in a Pbind value). In other cases (e.g. as an element of a Pseq list), they are used only once and give way to the next element. Pattern proxies should actually beha ...
-
... layers. We define the basic behaviour of an event stream with an event pattern (Pbind), then enrich the event pattern with functional code and can have a huge variety of EventStreamPlayers in different Environments with different parameter ...
-
... 300])), inf).asStream; 150.do({ [x.next, y.next].postln }); // sound example ( Pbind( \octave, 4, \degree, PstepNadd( Pseq([1, 2, 3]), Pseq([0, -2, [1, 3], -5]), Pshuf([1, 0, 3, 0], 2), Pseq([1, -1], 5) ), \dur, PstepNadd( Pseq([1, 0, 0, 1 ...
-
... up: 0, addAction: 1), [amp: [vol, vol.dbamp], freq: freq ]); conductor.pattern_(Pbind (\freq, Prand([1, 3/2, 5/4, 7/4], inf) * freq + Ptuple([Pwhite(-1.0,1),Pwhite(-1.0,1)]), \db, vol, \dur, Prand([0.2, 1.2],inf), \group, 22, \legato, 10), ...
-
... ction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0.5pi, env)) }).add; ) ( a = Pbind( \instrument, \help_sinegrain, \note, Pxrand([0, 5, 7, 9], inf), \dur, 0.05, \sustain, 0.1 ); Pstutter(Pseq([1, 2, 3, 4], inf), a).trace.play; ) // Pstutt ...
-
... , 10], 12, Tuning.new([0, 0.75, 2, 3.5, 4, 5, 6, 7, 8, 9, 10, 11]), "Custom" ); Pbind( \instrument, \help_dwgplucked, \scale ,a, \delta , Pseq([1,0.5,0.5,0.5,0.5,0.5,0.5,1,0.5,0.5,1,1]*0.25,inf), \dur , 2, \degree, Pseq([1,8,8,8,8,8,8,-6,Pr ...
-
... em = Mem(0); ~degrees = (0..7); // occasional direct repetitions... Pdef('mem', Pbind( \degree, Pfunc({ var choices = ~mem.filter(~degrees); var next = choices.choose; "next: % from: %\n".postf(next, choices); ~mem.add(next); next }), \dur, ...