-
... presets, use newNum as random seed if(newNum >= pre.settings.size){ pre.setCurrIndex(newNum, NTMI.zoom); ">>> % setRand seed: %\n".postf(pre, newNum); pre.proxy.addHalo(\randSeed, newNum); }{ var name = pre.settings[newNum].key; pre.setCur ...
-
... og10.floor - 1..0)/fps); } updateStepSize { scroll_step = scaleValues[charSelectIndex] ? 1; step = scroll_step; } charSelect { |i, forward = true| this.prCharSelect( i, forward ); this.refresh; } charSelectAmt { |amt = 1| this.prCharSelectA ...
-
... } prStart { var name; name = "BusMeters".catList(busses.collect({ arg bus; bus.index })); synth = SynthDef(name, { var ins, imp,reset; ins = busses.collect({ arg b; In.ar(b.index,b.numChannels) }); imp = Impulse.ar(updateFreq); reset = Del ...
-
... = HLayout(l); var xsl = Set[], ysl = Set[]; var sliders, twod; var update = { |index, val| sliders[index].value = val; module.theta[index] = val * 2 - 1; module.theta.postln; }; w.layout = h; w.front; h.add( twod = Slider2D().action_({ |v| ...
-
... }; mxapp.commit; if(apps.size == 1, { ^apps.first }, { ^apps }) } dup { arg fromIndex, toIndex; // toIndex defaults to the next slot, pushing any others further down var unit, ci; ci = this.channelNumber; unit = this.mx.copy( ci, fromIndex, ...
-
... cResponders.do{|x| x.free}; routineGui.stop; }; devicePopup.action= {|view| var index; var device= devices[view.value]; switch(device.version, 1, { "using nanoKONTROL V1 CC mappings".postln; version= \v1; nanoCtrlButtons[\v1].keysValuesDo{| ...
-
... om Mitchell Sigman (2011) Steal this Sound //http://www.sussex.ac.uk/Users/nc81/index.html }).add;
-
... de } }; // avoid wslib dependency { |str, exclude = " "| var firstI = str.detectIndex { |ch| exclude.includes(ch).not }, lastI; if(firstI.isNil) { String.new } { lastI = str.size - 1; while { lastI >= firstI and: { exclude.includes(str[last ...
-
... Control that is made when priming, and used for the voices. g.synCtl.dump; put (index, args) start a voice at some index index - some key to identify the running voice. e.g. a MIDInote key, or a button number. args - the arguments to be set ...
-
... ompass directions: f.dictAt(\compass).action = { |el| // calc integer value for indexing: var intVal = (el.deviceValue * 7).round.asInteger; var dir; [el.value, intVal, el.deviceValue].round(0.001).postln; if (intVal == 15) { "rnd compass r ...