-
... p, Pspawn(Pbind(\method,\par,\delta,1/8,\pattern,{Pbind(\instrument, \p, \dur,a=Pseq((1..9).sputter),\sustain,1/8/a,\degree,a,\detune,a)}))); Ndef(\p).play(vol:0.5); Ndef(\t, { var mod= Saw.ar([3, 4], Saw.ar(1, 32, 128), Duty.ar(1 ...
-
... */ // and play the piece ( Pdef(\nightmare, Pbind( \instrument, \saybuf, \buf, Pseq(~bufs), \dur, Pn(Pgeom(0.5, 0.992, 250), 4) * Pn(Pgeom(1, 0.99, 143), 7), \pan, Pwhite(-1.0, 1.0), \rate, Pbrown(0.9, 1.1, 0.02) * Pwrand([1, -1], [0.9, 0. ...
-
... 0.5 }.play, \octave, 3, \scale, Scale.minorPentatonic, \degree, Pn(Plazy{Pseq(Pxrand((0..4),inf).asStream.nextN(4),4)}), \dur, 1/4 ).play; // clean up w.onClose_({ b.free; x.stop; }); )
-
... egrain, \note, Pxrand([0, 5, 7, 9], inf), \dur, 0.05, \sustain, 0.1 ); Pstutter(Pseq([1, 2, 3, 4], inf), a).trace.play; ) // Pstutter used as a sequence of pitches ( c = Pstutter(3, Pxrand([1, 2, 3], inf) * 4 + 65); x = c.asStream; Routine ...
-
... yDigits(16)/10 // a metronome Pbindef(\tmetro, \dur, 1, \legato, 0.01, \note, Pseq([36,30,30,30], inf), \amp, 0.5).play(t, quant:4) // very useful syntax, create a new random rhythm every four bars Pbindef(\z, \buf, Pn(Plazy({Pseq({~buf ...
-
... sible s.latency = 0.03; // quant: -1 = start on a barline ( p = Pbind( \degree, Pseq([ -7, Pwhite(0, 7, 15) ], inf), \dur, 0.25, \amp, Pseq([0.5, Pn(0.1, 15)], inf) ).play(MIDISyncClock, quant: -1); ) p.stop; ⧉ ✔ helpfile source: /tmp/scqua ...
-
... Stream.nextN(15) // sequencing of logical operations p = PSVop_oi([3, 1, 2, 0], Pseq([\s, \u, \u], inf)) p.asStream.nextN(15) // specify difference q = PSVop_oi([3, 1, 5, 0], \d, 1) q.asStream.nextN(10) r = PSVop_oi([3, 1, 5, 0], \d, 0) r.a ...
-
... sStream.nextN(15) // sequencing of logical operations p = PSVop_o([3, 1, 2, 0], Pseq([\s, \u, \u], inf)) p.asStream.nextN(15) // specify difference q = PSVop_o([3, 1, 5, 0], \d, 1) q.asStream.nextN(10) r = PSVop_o([3, 1, 5, 0], \d, 0) r.asS ...
-
... .ceil) * 5.3); // Have some Pbind fun with this clock ( ~bind = Pbind( \degree, Pseq([1,5,3,2,6,9,11], inf), \dur, 1, \octave, 4, \root, 3, \amp,0.1 ).play(~slaveClock) ) // Stop the madness! ~bind.stop */ SlaveTempoClock { var clock, start ...
-
... aj13, nine, maj9, nineFlat13, add9, sixadd9, five, maj13, mMajAdd13, nineSus4 ] Pseq([\maj, \min], inf).asStream.nextN(10); -> [ [ 0, 4, 7 ], [ 0, 3, 7 ], [ 0, 4, 7 ], [ 0, 3, 7 ], [ 0, 4, 7 ], [ 0, 3, 7 ], [ 0, 4, 7 ], [ 0, 3, 7 ], [ 0, 4, ...