-
... e methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PDelayN(Pseq([1, 2, 4, 5], inf), 3, 3).trace+50).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \abc, Pseq([3, 2, 2, 0, 2, 2, 2], inf), \degree, Pkey(\abc), \amp, PDelay ...
-
... which = value Examples SynthDescLib.read; ( e = ( a: Pbind(\dur, 0.1, \degree, Pseq([0, 5, 4, 3, 2])), b: Pbind(\dur, 0.06, \degree, Pseq([7, 8, 7, 8])), c: Pbind(\dur, 0.3, \degree, Pseq([0, 1, 2], 2)) ); x = Pdict(e, Pseq([ \a, \b, Prand ...
-
... throughout the example sp.par(Pbind(*[degree: [0, 7], octave: 7, dur: 0.2, db: Pseq([-20, -24, -22, -24], inf)])); // scales in sequence with pauses sp.seq( Pbind(*[degree: Pseq((0..7).mirror), dur: 0.2]) ); sp.wait(0.4); sp.seq( Ppar([ Pb ...
-
... ck RedMst.quant= 4; //set quant beat RedTrk( \bass, //track name Pbind(\degree, Pseq([0, 5], inf), \octave, 4), //track item #[0, 1, 2, 3] //track active sections (when to play) ); RedTrk( \melody, Pbind(\degree, Pseq([0, 5, 2, 3, 3, 1], in ...
-
... , RedVector[vx, vy], 0, size, size); p.age= dur; }; ) Pbind(\dur, 0.5, \degree, Pseq([0, 1, 2, 3, 4]), \finish, Pfunc{|ev| ~createObj.value}).play Pbind(\dur, 0.25, \degree, Pseq([0, 1, 2, 3, 4, 9, 5, 2, 3, 5, 2, 1, 0, 0, 0]), \finish, Pfun ...
-
... his is the cross adverb, 'x'. Normally when you add two streams like this: p = (Pseq([10, 20]) + Pseq([1, 2, 3])).asStream; Array.fill(3, { p.next }); ⧉ ✔ you get this: [ 11, 22, nil ] ⧉ ✔ The items are paired sequentially and the stream en ...
-
... // see the delta values in the resulting events ( var a, b, c, t; a = Pbind(\x, Pseq([1, 2, 3, 4]), \dur, 1); b = Pbind(\x, Pseq([10, 20, 30, 40]), \dur, 0.4); c = Ptpar([0.0, a, 1.3, b]); t = c.asStream; 20.do({ t.next(Event.default).postl ...
-
... get more complex results. Patterns within list patterns We saw list patterns ( Pseq , Prand , etc.) that returned numbers from a preset list, either in the order given or rearranged randomly. The list may also include other patterns. When ...
-
... ( //fill every 4th bar- plain loop otherwise var sf, clock, cutsynth, cutproc, pseq; pseq=Pseq([0,0,0,1],inf).asStream; clock= ExternalClock(TempoClock(2.7725)); clock.play; Routine.run({ sf= BBCutBuffer(Platform.resourceDir +/+ "sounds/br ...
-
... Sx value and event pattern classes PS , PSdup , PSrecur , PSloop Examples ( p = Pseq([ PS(Pseq((1..9), inf), 3), PS((Pseries() + 1) * 100, Pseq([1,2,3], inf)) ], inf); q = p.asStream; q.nextN(50); ) // ATTENTION: // It is important to remem ...