Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (503) Code (48) Doc (99) Help (19) Quark (336) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. VoicerMIDISocket Quark

    ... in value = 1; // initialize to middle (no bending) }, { spec = spec.asSpec ?? { ControlSpec.new }; }); // if making the midisocket after control has been globalized, use existing // else make a new global control gc = destination.globalCont ...

  2. Influx Quark

    ... pecs: Passed in via param, local specs in the object or global specs defined in ControlSpec.specs specs = specs ?? {object.getSpec} ? ControlSpec.specs; funcName = funcName ?? { object.key }; paramNames = paramNames ?? { object.getHalo(\ord ...

  3. Frequency Modulation GUI Demo 3 by bruno (Bruno Ruviaro) Code

    ... ider( parent: win, bounds: Rect(830, 10, 50, 170), label: "volume", controlSpec: ControlSpec(-60, 0, \lin, 1, -40, "dB"), action: {|ez| masterOut.set(\amp, ez.value.dbamp)}, unitWidth: 30, labelWidth: 80, layout: 've ...

  4. softPut Doc

    ... ) lastVal the previous value that a control has set - see last examples. spec a ControlSpec can be passed in. if nil, param.asSpec is used. NOTE: if no spec is given, or no value exists yet, softSet simply allows setting. Examples ( e = (am ...

  5. extLib Quark

    +OSCresponder { free { ^this.remove } } +ControlSpec { safeHasZeroCrossing { var thisMinSign, thisMaxSign; #thisMinSign, thisMaxSign = [minval, maxval].collect{ |val| if(val.isArray) { val.sign.mean } { val.sign } }; ^thisMinSign != thisMax ...

  6. SimpleDMXFixture Quark

    ... ure.dmxAddr.asString, fixtureBounds, Font.monospace(30)); }; } ) ) ); dmxSpec = ControlSpec(0, 255, \lin, 1); } *new {|dmxAddr = 0, numChannels = 1, universeId = 0, desc, device| ^super.new.init(dmxAddr, numChannels, universeId, desc, devic ...

  7. Instr Doc

    ... looks for Spec.specs.at(\freq) If nothing is found there, it will default to a ControlSpec with a range of 0 .. 1 These specs are used by Patch to determine the suitable type of input. They may be used in many other situations, and you wil ...

  8. TabletSlider2D Doc

    ... gate, gate) ) },[0.1,0.1,0.1,0.1,0.1,nil]).play(s); w = Window.new.front; int = ControlSpec(-48,48,\linear,1); v = TabletSlider2D(w,Rect(10,10,380,380)); v.background = Color.blue.alpha_(0.2); v.knobColor = Color.red; v.action = { arg view, ...

  9. extPoint-variousOps Quark

    ... Min, inMax, outCenter, outMin, outMax, clip) } // hmmm... dubious... (works for ControlSpec though) < { arg that, adverb; ^this.rho.perform( thisMethod.name, that.asPoint.rho, adverb ) } > { arg that, adverb; ^this.rho.perform( thisMethod.n ...

  10. MIDIIn Doc

    ... ent.init; MIDIIn.connect(0, MIDIClient.sources.at(0)); g = Group.new; cutspec = ControlSpec(100, 10000, \linear, 0.001); cutbus = Bus.new(\control, 1, 1, s); cutbus.value = 10000; rezspec = ControlSpec(1, 0, \linear, 0.001); rezbus = Bus.ne ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow