-
... ern cuts off the inner Pbind after 4 beats. This would stop the pattern, except Pn repeats the Pfindur infinitely, placing the accent in the right place every time. The loop actually starts with a half-beat anacrusis, so Ptpar delays the be ...
-
PstepNadd: Filter: Description Class methods Inherited class methods Undocumented class methods new Instance methods Inherited instance methods Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Patterns>Time'>Time PstepNadd ...
-
... ns in succession, one by one. (Plazy embeds just one pattern; wrapping Plazy in Pn does it many times.) The logic in this example is a bit more involved: for each measure, start with arrays containing the basic rhythmic pattern for each par ...
-
... 5 notes. // Then, Pfintime pads with enough rests to reach 2.0 beats, // before Pn repeats the Pbind. a = Pn( Pbind( \degree, Pfintime(2.0, Pseries(0, 1, 5)), \dur, 0.25 ), inf ).play; a.stop; ⧉ ✔ helpfile source: /tmp/scquark_hs/ddwPattern ...
-
Pnsym: Filter: Description Class methods new Inherited class methods Instance methods dict Inherited instance methods Undocumented instance methods lookupClass Examples Classes | JITLib > Patterns'>Patterns | Live Coding Pnsym : Psym : Filt ...
-
... r(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pif(Pfunc({ 0.3.coin }), Pn(Pseries(0.5, 0.1, 10)), Pn(Pseries(6, -0.1, 10))).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.2.wait; } }.fork; ) ⧉ ✔ helpfile ...
-
... rbit(123, { |n=1| { 7.rand2 }.dup(n); }); r.seed = 666; x = Pbind( \inc, Pseq([ Pn(1, 7), Pn(-1, 7)], inf), \degree, r, \dur, Pseq([0.5, Pn(0.25, 6)], inf) ).trace.play; // shift random sequence by 1 r.stepSeed(1); r.stepSeed(-1); // and ba ...
-
... Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var c, b; c = Pn(Pfin({ rrand(3, 5) }, Pseq([1, 2, 3, 4, 5, 6], inf) * 4 + 65), inf); b = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, b.next.midicps]); 0.12.w ...
-
... // rhythms are looped too ( ~lookBack = 0; ~doSkip= 1; p = PSloop( Pbind( \dur, Pn(Pshuf([1, 1, 2, Pseq(2!3/3)]/5)), \midinote, Prand((60..80), inf) ), bufSize: 10, lookBack: { ~lookBack }, doSkip: { ~doSkip} ).play ) // wait a bit to fill ...
-
... ).rand2, dur: ev.dur.linlin(0.08, 0.5, 30, 50))}).play Pbind(\dur, 0.125, \amp, Pn(Pshuf([0.1, 0.1, 0.1, 0.05, 0, 0], 4), 4), \degree, Pn(Pshuf([0, 2, 3, 5, 6, 8], 4), 4), \finish, Pfunc{|ev| ~createObj.value(y: ev.degree.lincurve(0, 8, 0.7 ...