-
... // <<<<<< Pbindef(\u, \buf, Pslide(~bufs[0..3]+2,inf,5,2)) Pbindef(\u, \pan, Pwhite(-0.3,0.3)) Pbindef(\u, \out, 0) Pbindef(\u, \out, Pseq([~mbus,~ebus],inf)) Pbindef(\u, \out, ~ebus) Pbindef(\u, \buf, Pn(Plazy({Pseq({~bufs.choose}!1 ...
-
... in_grain, \noise_grain], \d, 0.8, \m, [65, 70, 80], \rq, 0.002, \a, 0.03, \att, Pwhite(0.05, 0.01) ) ) // now we have a PLbindefEnvironment as player which can use indices ~v.play // set all streams to one val or pattern ~v.d = PLseq([0.2, ...
-
... 0).linexp(0, 1, 0.01, 2), legato: 4, startPos: Pn(Pseg([0, 1], 20), inf), rate: Pwhite(1, 1).midiratio, loop: 0, group: Pkey(\newgroup), bufnum: Pkey(\sf1) ]) ); a.play; ) // a.render("sounds/test.aif", 40) // SoundFile.openRead("sounds/tes ...
-
... ng); }).store; Pbind( \instrument, \pluck, \degree, Pn(Pseries(0, Pwrand([Pwhite(-3,3,inf).round(1),1],[32,1],inf), 4),inf)-1 + [0,2,-1,-14], \dur, Pseq([4, [5,2,1]].convertRhythm / 2, inf), \strum, Pwhite(0,1/8,inf), \octave, [5,6 ...
-
... ay also get lists of event patterns ( p = PLxrand(\a); ~a = [ Pbind( \midinote, Pwhite(60, 65, 3), \dur, 0.2 ), Pbind( \midinote, Pwhite(70, 75, 3), \dur, 0.2 ), Pbind( \midinote, Pwhite(80, 85, 3), \dur, 0.2 ) ]; x = p.play; ) // replace a ...
-
... ommon cases: Pseq ([1, 2, 3]) + 2; Pseq ([1, 2, 3]) / Pseq ([3, 4, 5, 6]); max( Pwhite (-10, 10, inf ), Pseq ([0, 2, 3, 4])); // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05, amp=0.1; var env; env = EnvGe ...
-
... \rel.kr(0.1), \curve.kr(-2), 0) * 0.25 }, sampleAccurate: true), ], inf), freq: Pwhite(440, 880), dur: Pwhite(0.01, 0.2), )).play(chans:2) }) )
-
... eq ([3, 4, 5], inf ), Pseq ([9, 7], inf )]); a.asStream.all; ) // common cases: Pwhite (0, 1, inf ).linexp(0, 1, 200, 1000); Pwhite (0, 1, inf ).degreeToKey([0, 1, 3, 5, 7, 9, 11], 10); blend( Pseq ([1, 2, 3], inf ), Pseq ([3, 2, 1, 0], inf ...
-
... and([0.2,1.3],inf), \buf, ~scale1, \root, Prand([23,30,35,37],inf), \amp, Pwhite(0.15,0.5,inf), \bottom, Prand([2,5],inf), \top, Pwhite(7.0,9.1,inf), \samp, Pexprand(0.07,0.5,inf), \rate, Pexprand(0.1,3,inf), \cfreq, Pseq([ ...
-
... 0, 0, 0, 0, 3, -1], inf)), \amp, Pseq([0.125, 0.2, 0.25, 0.3, 0.4], inf), \dur, Pwhite(0.14, 0.15, inf), //Pseq([0.5, 0.15, 0.5, 0.25, 1], inf), \legato, 0.5, \rel, Pwrand([0.1, 0.01], [0.9, 0.1], inf), \hifreq, Pwhite(2000, 9000, inf) ).pl ...