-
simple gui step sequencer of PMOsc-based random instruments note: modify variables "dims" and "resolution" to change number of instruments/steps and time resolution ( var w, buttons, data, synths, dims = [16,16], resolution = 4; w = ...
-
... d bass but I got carried away ( fork{ // this is going to be a convoluted step seq var i = 0; loop{ var tempo, step; tempo = [ (3,5..21).reciprocal.choose, 1/11, 1/7, 1/5, 1 ].wchoose([0.1,17,0.4,0 ...
-
wiard noise ring variation using a ringbuffer instead of bitshifting, language implementation (task-based) by lfsaw (LFSaw) Code
... nteger; q.waitTime = 0.05; // in seconds q.chance = 0.1; q.change = 10; // step size ( // initialise q.registerSize.do{ q.rbuf.overwrite(rrand(q.min, q.max)); }; // do one step q.step = {|q, rbuf, chance, step, min, max| ...
-
... ec', 1); s.sendMsg("n_free", ~node) */ // make GUI! ( ~bpm = 140; ~step = 0; // set default note ons ~defaultNoteOns = Array .fill(16,1); // this is the note on array that will be used in the sequencer routine ~noteOns ...
-
/* Language based n x n step sequencer. Without a UI it's easy to create and transform arbitrary matrixes. You can also map x/x coordinates to whatever you wish. */ ( // Factory method for creating loopr object ~createLoopr = { ...
-
... ut, 0, //array a plays in left channel \dur, 0.1, \freq, Pseq((1+a)*30) //steps of 30Hz ).play; Pbind( \instrument, \puls, \out, 1, //array b plays in right channel \dur, 0.1, \freq, Pseq((1+b)*30) ).play; )
-
Two simple ways to set a different modulation per step in a pattern ( SynthDef(\rlpf, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2, ffreq=4000, rq=0.3; var sig, sig1, sig2, sig3; sig = LFSaw.ar(freq * [1.01,1 ...
-
... (1 << shift) - 1); (x >> shift) | (lsbs << (numBits-shift)); }; // do one step q.step = {|q, rbuf, change, chance| // rotate rbuf = q.ror(rbuf, 1, q.registerSize); // rbuf.asBinaryDigits(7).postln; (change.coin).if{ // ...
-
wiard noise ring variation using a ringbuffer instead of bitshifting, language implementation (pattern-based) by lfsaw (LFSaw) Code
... = 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({ chance.trace.coin.embedInStream }), change, 0)) } ! registerSize, Pse ...
-
... p / 4; } } ~hat.value.play; /* ------------------------ Simple 8-step sequencer ------------------------ */ ~player = { arg beat_list, synth; { arg i; var amp = beat_list.wrapAt(i); if( amp>0, { synth.valu ...