Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. 4_RandomOrbit_clavier Quark

    ... 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 ...

  2. SMPTEBox Quark

    ... 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 ...

  3. BusMeters Quark

    ... } 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 ...

  4. Neuromodule-Stream-test Quark

    ... = 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| ...

  5. MxApp Quark

    ... }; 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, ...

  6. SNanoKontrol Quark

    ... 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{| ...

  7. everythingrhodes Quark

    ... om Mitchell Sigman (2011) Steal this Sound //http://www.sussex.ac.uk/Users/nc81/index.html }).add;

  8. preprocessor Quark

    ... 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 ...

  9. NPVoicer Quark

    ... 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 ...

  10. thrustmaster-run-n-drive.desc Quark

    ... 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 ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow