Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (924) Code (27) Doc (315) Help (54) Quark (524) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. extDictionary Quark

    ... ndation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +Dictionary { miSC_maybePutPairs { arg ...args; args.pairsDo { |key, val| this.at(key).isNil.if { this.put(key, val) } }; ^this } }

  2. startup_example_simpleJIT Quark

    ... utBusChannels_(18) // .numOutputBusChannels_(18) ; q = q ? (); // make a global dictionary for everything p = ProxySpace.push(s); // make a proxyspace and push it. // decide what should happen after server has booted: s.doWhenBooted({ 1.wai ...

  3. SimpleRepublic Quark

    ... rces. Network connections are closed and addresses are removed. addrs Returns a dictionary of all available (sclang) addresses. send(name ... args) Send an OSC message ( args ) to the SClang of the given name . If the name is \all , the mes ...

  4. UIFactories Quark

    ... formaters; // Define a class variable with getter and setter *new { formaters = Dictionary.newFrom([ \toDecibels, {|value| "%dB".format(value.ampdb.linlin(-40, 0, -60,0).round(1e-1)) }, \toMilliseconds, {|value| "%ms".format(value.linlin(0, ...

  5. PatternBoxLauncherView Quark

    ... BoxLauncherItemViews do: { |view| view.closeView(); }; } getState { var state = Dictionary(); state[\type] = "PatternBoxLauncherView"; state[\patternBoxLauncherItemViewsStates] = patternBoxLauncherItemViews.collect({ |patternBoxLauncherItem ...

  6. RPC Quark

    ... ^nu } init { arg n; name = n; all.put(name, this); } *initClass { all = IdentityDictionary.new; } receiveAPI_ { arg obj; if(obj.isString or: obj.isKindOf(Symbol), { receiveAPI = API(obj); mountName = receiveAPI.name; ^this }); if(obj.isKind ...

  7. SETObject Quark

    ... ler; // var <>lastUpdated; var <>isUpdated = true; classvar <formatDict; // the dictionary containing the predefined formats classvar <keyDict; // dictionary mapping the keys to elements in the object /** method needed for testing purposes* ...

  8. AtkHoa Quark

    ... esh = -180.dbamp; // zero optimisation threshold defaultOrder = 3; formatDict = Dictionary.with(*[ \atk->[\acn, \n3d], // atk, mpegH \ambix->[\acn, \sn3d], // ambix \fuma->[\fuma, \fuma] // fuma ]); } *format { ^formatDict[\atk] } *ordering ...

  9. Collection-extensions Quark

    ... rest + 0 mapMode {} unmapMode {} } // need a separate version of removeDups for Dictionary + Collection { removeDups { // output a new collection without any duplicate values var result; result = this.species.new(this.size); this.do({ arg i ...

  10. EqualizerUI Quark

    ... itEvent(\extendDefaultParentEvent, defaultParentEvent); }); equalizerElements = Dictionary.new; controlBusHandlers = Dictionary.new; bypassButton = Button.new.string_("Bypass").maxWidth_(75); bypassButton.action_({ this.setBypassButtonState ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow