-
... linear fashion between a minimum and a maximum value, according to a number of steps. Pushing the button will increment the probability, getting back to the minimum value if the maximum value was selected. Arguments are : - Instance of ...
-
... array[rand] = array[rand] + [-12,0,12].choose; }; var task = Task { var step = 0; var transpStep = 0; loop { var freq = (notes.wrapAt(step) + 60 + transp.wrapAt(transpStep)).midicps; Synth(\ping, [\freq, freq, \pan, pan]); ...
-
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 ...
-
GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code
... {x.set(\fundamental, ~fundamental)} ) }) ; numberBoxes[1].value_(10) .step_(1) .clipLo_(5) .clipHi_(30) .action_({ arg obj; var val = obj.value; ~startPartial = val; Pdefn(\startPartial, ~startPartial) }); numberBox ...
-
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 ...
-
bulging version of [simple rand-n-step](http://sccode.org/1-Eo) but with comments, which maybe helpful to reuse this stuff it seems, someday, it should be rewritten as Quark ) ( var w, status, limit, buttons, controls = [], one_button, ...
-
... tePat = { |chord| chord.reverse }; // play chord backwards ~transpose = 9.1; ~steps = 1; // # of transpositions applied -- negative goes up and down ~offset = 3; // offset into note pattern ~repeats = inf; //~velocityFunc = { |vel| vel ...
-
... ll: true); w.front; knob = EZKnob(w, 112@70, 'freq', ControlSpec(20, 20000, step: 1, default: 20, units: 'hz'), { arg knob; ~a.set(\freq, knob.value); active = false; }, margin: 39@0); MIDIFunc.cc({ arg val, num, chan, src; va ...