Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (4) Doc (98) Help (27) Quark (405) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Voicer Quark

    ... var args, lcm; // for initializing nodes globalControls = ValidatingDictionary(IdentityDictionary.new, validator: { |value| value.isKindOf(VoicerGlobalControl) }, putFallback: { |key, value, dict| if(value.isNumber) { dict.at(key).value = ...

  2. UMod Quark

    ... ); } asUModDef { ^this } addToAll { |name| this.class.all ?? { this.class.all = IdentityDictionary() }; this.class.all[ name ] = this; // name doesn't need to be a Symbol } initNew { if( funcDict.isFunction ) { funcDict = (\start -> funcDic ...

  3. MoscaEffects Quark

    ... { | irBank | ^super.new().ctr(irBank) } ctr { | irBank | effectInstances = Ref(IdentityDictionary()); if (irBank.isNil) { defs.removeAt(defs.detectIndex({ | item | item == ConvolutionDef.asClass })); effectList = defs.collect({ | item | it ...

  4. FoaMatrix Doc

    ... rse If the instance was created by loading a .yml file, this method returns the IdentityDictionary containing the parsed metadata. This can be useful if anything was stored in the metadata that can be subsequently used once reloaded, such a ...

  5. MIDIPort Quark

    ... chan.channel); } *initClass { // ports dict must exist before first use ports = IdentityDictionary.new; protoCCAllocators = IdentityDictionary.new; } *search { arg v; var temp; v.isNil.if({ ^nil }); ports.do({ arg p; temp = p.search(v); // ...

  6. geoAudio Quark

    ... io { arg aSamplesPath ; var p, l, name ; samplesPath = aSamplesPath ; bufDict = IdentityDictionary.new ; server.doWhenBooted({ p = Pipe.new("ls -R" + samplesPath, "r") ; l = p.getLine ; while({l.notNil}, { case { l.contains("/") } { samples ...

  7. MIDISyncClock Quark

    ... r lastTickTime, <queue, meanRoutine, meanSize = 7; *initClass { responseFuncs = IdentityDictionary[ // tick 8 -> { |data| var lastTickDelta, lastQueueTime, lastBeat, nextTime, task, tickIndex; var saveClock; if(startTime <= 0) { "\n\nWARNIN ...

  8. PpatRewrite Quark

    ... n Prewrite. Prewrite matches values based on equality (Dictionary) or identity (IdentityDictionary). PpatRewrite uses the matchItem interface to support identity, array lookup and arbitrary functions for more flexible rule lookup. Prewrite ...

  9. PpatRewrite Quark

    ... n Prewrite. Prewrite matches values based on equality (Dictionary) or identity (IdentityDictionary). PpatRewrite uses the matchItem interface to support identity, array lookup and arbitrary functions for more flexible rule lookup. Prewrite ...

  10. Singleton Doc

    ... rmal *new method. This should not be called directly. . all Returns: Returns an IdentityDictionary of all Singletons registered for this class. . know If set to true, the Singleton interprets method calls as calls to the Singleton construct ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow