-
... , 0.5) ); ~clap = Pbind( \instrument, "clap", \freq, 60, \dur, Pseq([ Rest(1), 2, 2, 2, 2, 2, 2, 2], 1), \amp, 0.5 ); ~clap2 = Pbind( \instrument, "clap", \freq, 60, \dur, Pseq([ Rest(1), 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ...
-
... ), \octave, [2, 3, 4, 5, 6].choose, \type, Pfunc({[\note, \note, \rest].choose}), \verb, rrand(0.05, 0.8), \release, rrand(0.0, 4.0), \attack, rrand(0.001, 1.0), \root, ~root, \maingain, Pbro ...
-
... n = 1.embedInStream(in)}, $-, {in = 3.embedInStream(in)}, $ , {in = Rest(1).embedInStream(in)} ); }; }; //Function to create a new duration stream outEvent.durStream = {outEvent.prout.asStream;}; //Count ...
-
... ), \octave, [2, 3, 4, 5, 6].choose, \type, Pfunc({[\note, \note, \rest].choose}), \verb, rrand(0.05, 0.8), \release, rrand(0.0, 8.0), \attack, rrand(0.001, 3.0), \root, root, \mg, Pbrown(0.1, ...
-
... ).play.stop; ~snareMain = Pbind( \instrument, "snare", \dur, Pseq([Rest(1), 1], inf), \att, 0.01, \rel, 0.1, \amp, 0.3 ).play.stop; ~hihatMain = Pbind( \instrument, "hihat1", \dur, 1/4, \att, 0.01, \r ...
-
... amp = 0.01, // env controls dur = 1, dur_env = 1, atk = 0.01, decay = 1, crest = 1, curve = 1; var temp, sig, env, env2; env = EnvGen.ar(Env.new( [0, crest, 0], [atk, decay]*dur*dur_env, curve), ...
-
... q.playWord(k.voice,k.word)})) ) ( Pdef(\vocable, Pbind( \degree, \rest, \word, Pclump(Pwhite(1,2), Pseq(["soup", "tackle", "qop", "asdf", "ho", "hi"],inf)), \dur, 0.25, \strum, 0.125, \func, Pfunc{|k| if(k.word ...
-
Binary Shift Register Sequencer by Dario Lozano-Thornton by dario-lozano-thornton (Dario Lozano-Thornton) Code
... ere is a high pass so that a low number can be chosen as an off state, creating rests (particularly useful as the zero state gets often outputted by the binary counter) - Flip means that row 1 becomes it's inverse every other time, allowin ...
-
... if (character != $.) { percmap[instrument].yield; } { Rest(0).yield; }; }); }), \amp, Prout({ pattern.do({ | character | if (character == $X) { (0.8 + (amplitudeer ...
-
... [ "n_set" , ~node, 'gate' , 0]); //(7.5/~bpm).wait; },{ // it's a rest (15/~bpm).wait; }); // turn off LED {~tStepLED[(~step-1)%16].background_( Color .new(0.6,0,0)); /*(((~step-1)%16).asString + "off").postl ...