-
PserFunc : PseqFunc PserFunc is to Pser as PseqFunc is to Pseq. Pser "is like Pseq, however the repeats variable gives the number of items returned instead of the number of complete cycles." See the helpfile for PseqFunc for an explanation ...
-
... \sine, dur: 0.5 )).play(chans: 2, scale: 0.7); }); ) //Interpolate over the new Pseq. 'sched: 1' triggers it at the next beat a.from(Pseq([220, 440, 880], inf), \freq, time: 3, sched: 1); //Interpolate over the new Pwhite. a.from(Pwhite(220 ...
-
... )); iDur.wait; }; wait(n*iDur); { action.(return); }.defer; }.play; } } /* Pseg(Pseq([0,1]),Pseq([200]*(1/44100))).asStream.nextT(200,action:{|array| ~temp=array.plot}); */
-
... Stream; y = Pbind ( \midinote , Pseries (90, -1, 10), \dur , 0.5).asStream; z = Pseq ([2, 3, 1, 2], 1).asStream; ~a = Pfuncn ({ x.next(()) }, { z.next }); ~b = Pfuncn ({ y.next(()) }, { z.next }); PsymNilSafe ( Pseq ( "ab" , inf )).trace.pl ...
-
... dulating at audio rate ~freqSeq = AlgaMonoPattern(( rate: \audio, chans: 2, in: Pseq([ AlgaTemp({ SinOsc.ar([Rand(1, 100), Rand(1, 100)]) }, scale: [Pwhite(220, 440), Pwhite(440, 880)]), [440, 660], 880 ], inf), time: Pwhite(0.01, 1), dur: ...
-
Pbindef( \kik3, \instrument, "kik3", \dur, Pseq([3, 1, 2, 2, 4, 3, 1, 2, 2], inf)/8, \amp, Pseq([1, 0.7, 0.05, 0.5, 1, 1, 0.7, 0.05, 0.5], inf) / 2, \freq, Prand([60, 50, 40], 32), \harmonic, 4, \preamp, Pgeom(1, 1.1) );
-
Pdef(\moogBass, Pmono( "moogBass", \amp, 0.9, \ctranspose, Pseq([Pn(0, 8), Pn(3, 8), Pn(5, 8)]), \midinote, Pseq([24, 36, 48, 36, 35, 36, 43, 48], 3), \dur, 0.2, \gain, Pseries(2, 0.1, inf), \cutoff, Pseries(4000, 400, inf), \chorus, Pwhite ...
-
Pbindef(\clapElectro, \instrument, "clapElectro", \att, Pseq([0.02, 0.02, 0.02, 0.25, 0.02, 0.02, 0.02, 0.25, 0.02, 0.02, 0.25, 0.02, 0.02]), \dur, Pseq([1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1]) / 4.5, \amp, 1, );
-
... f: { SinOsc.ar * EnvGen.ar(Env.adsr, \gate.kr) }, //user can use \gate sustain: Pseq([1, 2], inf), //reserved keyword dur: 3 )).play }) ) //2 ( Alga.boot({ a = AP(( def: { SinOsc.ar }, amp: AlgaTemp({ EnvGen.ar(Env.adsr, \gate.kr) }, sample ...
-
... kPad2", \dur, 3, \ctranspose, 12, \legato, 0.55, \del, Pwhite(0.05, 0.1), \rel, Pseq([Pn(1.75, 7), 3]), \polFlip, Prand([0, 1], inf), \thresh, Pwhite(0.01, 0.67), \degree, Pseq([[-7, 0, 2, 4], [-5, -1, 2, 4], [-6, -2, 1, 4], [-7, -3, 0, 4]] ...