-
... asStream; 10.do({ c.next.post }); // using a seed pattern as input: a = Pseed ( Pseq ([1812, 1912], inf ), Prand ([1,2,3], 5 )); b = a.asStream; 2.do({ 5.do({ b.next.post }); "" .postln; }); c = a.asStream; 2.do({ 5.do({ c.next.post }); "" ...
-
... s and have //interpolation working with Pif, etc... ( Alga.boot({ ~freqStream = Pseq([440, 880], inf).asStream; ~pattern = AP(( def: { SinOsc.ar(\freq.kr + \freq2.kr) * EnvPerc.ar }, dur: \manual, freq: Pfunc { ~freq }, freq2: Pif(Pfunc { ~ ...
-
... hans:2) }) ) //3 ( Alga.boot({ y = AP(( def: { SinOsc.ar(\freq.kr(440)) }, amp: Pseq([ AlgaTemp({ EnvPerc.ar(\atk.kr(0.01), \rel.kr(0.25), \curve.kr(-2), 0) * 0.25 }, sampleAccurate: true), AlgaTemp({ EnvPerc.ar(\atk.kr(0.001), \rel.kr(0.1) ...
-
... , \instrument, "modalMarimba", \ctranspose, 8, \rel, 0.4, \dur, 1/5.5, \degree, Pseq([ [0, 7], 5, 6, 6, 5, 4, 2, [-2, 7], 5, 6, 6, 5, 4, 2, [1, 7], 5, 6, 6, 5, 4, 2, [2, 7], 5, 6, 6, 5, 4, 2, [0, 7], \rest, [0, 6], \rest, \rest, 4, 2, [-2, ...
-
... // specify custom event type \type, \nbind, // switch between fx \ndef, Pseq([\fx1, \fx2], inf), \degree, Pwhite(0, 5, inf) ).play;
-
... dinote, Pkey(\row) + 60, \timept, Pkey(\row) * 0.25, \amp, 0.5 )), Pbind( \pan, Pseq([-1, 1, 1], inf), \midinote, Pseq([72, 76, 80], inf), \dur, 1, \sustain, 0.15, \amp, 0.5 ) ]).play(quant: -1); ) p.stop; ⧉ ✔ helpfile source: /tmp/scquark_ ...
-
... }; nil; }; Pbindef(\n, \octave, 4, \dur, 0.5, \degree, Pseq((0..7), inf) ).play(t, quant: 4); ); ~change_clock_tempo.value(t, 200/60, 16); ~change_clock_tempo.value(t, 50/60, 8); t.tempo*60
-
... [root, octave, scale, (root + (octave*12) + scale).midicps].debug; PdurStutter( PseqLive(list.copyRange(0, cycleLength-1), 0, 5, 1), Pseq((root + (octave*12) + scale).midicps , inf) ) }, [ \root.asSpec.as(StaticSpec), \scale, StaticIntegerS ...
-
... y".format(~collIndex.asCompileString).warn; }; Pn(Rest(~beatsPerBar.()), 1) } { Pseq(deltas, 1) }; }, { Pfinval(~amps.size, Pn(~divCycle.asPattern, inf)) }); }; ~makeAmpPattern = #{ ~compactPatterns.if({ Pseq(((~amps[0] == 0).if({ #[0] })) ...
-
... ray // PLseq defaults to repeats = inf ( ~a = (70..75) ++ Pshuf((85..80), 2) ++ Pseq((90..94)); ~w = PLseq((0..7)); x = Pbind(\midinote, p, \dur, 0.1).play; ) // update array element ~a[2] = Pseq([86, 85], 2) + [0,3]; // reverse index patte ...