-
... lue_(4) .action_({ arg obj; switch (obj.value, 0, {~riff1.dynamic = Pseq([0.65,0.45], inf)}, 1, {~riff1.dynamic = Pseq([0.65,Pseq([0.45],2)], inf)}, 2, {~riff1.dynamic = Pseq([0.65,Pseq([0.45],3)], inf)}, 3, {~riff1. ...
-
... k.new(90/60).permanent_(true); ( p = Pbind( \instrument, "bassy", \dur, Pseq([ 0.25, Rest(0.5), 0.25, // beat 1 Rest(0.5), 0.25, Rest(0.25), // beat 2 Rest(0.5), 0.5, // beat 3 0.5, 0.5 // beat 4 ], inf), \midinote, ...
-
... , \default, \scale, Scale.minor, \dur, Pbjorklund2(3, 8) * 0.25, \degree, Pseq([3, 3, 5.1, 4, 4, 6.1, 5.1, 5.1, 7.0, 2.1, 2.1, 2.1], 4), \legato, 0.3 ).play; ~chordtest = Pbind( \instrument, \default, \scale, Scale.minor, ...
-
... t(env.levels[0]); ctlpat = Pbind( \instrument, \ctlPoint, \value, Pseq(env.levels[1..],inf), \time, Pseq(env.times,inf) / Pfunc({thisThread.clock.tempo}), \group, Pkey(\busgroup), \outbus, Pfunc { arg ev; ev[bus ...
-
( Pbind( \instrument, "hihat", \degree, Pseq([0.1, 0.1, 0.2, 0.4, 0.7, 1, 1.5, 2], inf), \dur, Pseq([0.2, Rest(0.2), 0.2, Rest(0.2), 0.2, Rest(0.4), 0.2], inf);, \attackTime, 0.34, \amp, 0.75, ).play; ) ( Pbind( \instrum ...
-
... er); }).store; TempoClock.default.tempo = 16/~amen.duration; ~rhythm = Pseq([8,[2,[1,[1,1,[1,1!3],[1,1!4]]],[1,1!4]]].convertRhythm,1); // Evaluate one of these before playing the Pbind ~rhythm = Pseq([8,[[2,[2,1,[1,1!12]]],[1,[1, ...
-
wiard noise ring variation using a ringbuffer instead of bitshifting, language implementation (pattern-based) by lfsaw (LFSaw) Code
... Integer; var waitTime = 0.05; // in seconds //var chance = 0.1; var chance = Pseq([Pseries(0, 0.1, 10), Pseries(1, -0.1, 10)], inf); var change = 10; // step size Pbind( \midinote, Pswitch1( { Pbrown(min, max, Pif(Prout({ ...
-
... 0 }; ( Pdef(\zed, Ppar([ Pbind( \instrument, \default, \note, Pseq([0,4,Rest(1),-2],inf) + Pseq([Pn(0,8),Pbrown(0,4,1,8)],inf), \dur, 1/4, \amp, 0.1, \sustain, 0.1, \out, ~bus[0], ), Pmono(\simpletrac ...
-
... f).asStream; var root=[36,48,60,72]; var x; x=Array.new; a=PatternProxy(Pseq([0+root.wchoose([0.3,0.4,0.2,0.1])],inf)); d=1/8; ~streams=[]; ~names={|pbind| ~streams=~streams++pbind.play(quant:1)}; ~names.value(Pbind(*[\i ...
-
... d, snd]); }).add; ) ) ( ~hihat = Pbind( \instrument, "hihat", \dur, Pseq([Rest(1/4), 1/4], inf), \att, 0.01, \rel, 0.1, \ffreq, 11000, \pan, 0, \amp, 0.3 ); ~snare = Pbind( \instrument, "snare", \dur, Pseq([Rest ...