Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1500) Code (97) Doc (308) Help (89) Quark (1000) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. UChainIOGUI Quark

    ... nit| var ins, outs, mix; ins = unit.audioIns; outs = unit.audioOuts; mix = outs.select({ |item| unit.keys.includes( unit.getIOKey( \out, \audio, item, "lvl" ) ) }); ^[ ins, outs, mix ]; } getHeight { |units, margin, gap| ^units.collect({ |u ...

  2. FoaXformDisplay Quark

    ... TabColor, <xfColor, <ctlColor, <colorStep, chainColor, baseColor; var pointRad, selectedDex; // soundfield player - for auditioning the soundfield transforms var <audition, >iOpenedAudition = true, <pwPlaying = false, <pwAzim = 0; *new { | ...

  3. RedGrain2 Doc

    ... resume the task . delta get or set time between grains in seconds . buf get or select which buffer to get the grain source audio from . rate get or set grain playbackrate . pos get or set position in source buffer (1.0= end of buffer) . du ...

  4. Modality Doc

    ... 0); // -> MKtlElementGroup // elements have a type: k.elAt(\kn, 0, 0).type; // select elements by their type: k.elementsDict.select { |x| x.type == \encoder }; // perform an action on turning knob [0,0] (upper left) k.elAt(\kn, 0, 0).actio ...

  5. XiiGrainBox Quark

    ... ; // sampleDurList comes from XQ and is therefore with a start and end value of selection spec = [0, sampledur, \linear, 0.01, randCntrPos[i]].asSpec; myvar = spec.map(envval);// horizontal }, { myvar = nil;}); myvar; }; nPoints = 10; // ho ...

  6. wfsRandomPath Quark

    ... seed, unit.seed ]; umaps = chain.units.collect({ |unit| (unit.getAllUMaps ? []).select({ |umap| (umap.defName === \map_control_point) && { [umap.bus_x, umap.bus_y].asInteger == outputs; } }) }).flatten(1); if( umaps.size < 2 ) { // if only ...

  7. PathActionMenu Doc

    ... f","rtfd","sc","scd","html","HTML","schelp"] . openAction a function run on the selected path. Typically open a file. {|path,modifier,buttonNum| doSomething()} You can set it on the instance, or you can set a default with PathActionMenu.def ...

  8. midSideSaw Quark

    ... f and Converting Back to L/R leftOut = mid + side; rightOut = mid - side; snd = Select.ar( which: monoSwitch, array: [ [leftOut, rightOut], Pan2.ar(leftOut, pan)]); snd = snd * amp; snd = Limiter.ar(snd); Out.ar(out, snd); }, metadata: ( cr ...

  9. Dispatch Quark

    ... .asString ++ "\n\n\n"); this.action = { arg disp, str, key, nickname; defer { d.selectRange(d.text.size-1, 0); // deselect user str = "~" ++ key ++ " = " ++ str; if(str.last !== $;) { str = str ++ $; }; d.selectedString_( "\n" ++ "//" + nic ...

  10. ProxyChainGui Quark

    ... new slotnames: ".post; newState[\slotNames].postcs; namedButtons.clear; buttons.select { |bt| specialButtons.includes(bt).not }.do { |but, i| var newName = newState[\slotNames][i]; but.states_(but.states.collect(_.put(0, newName ? "-"))); b ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow