Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (4) Doc (98) Help (27) Quark (405) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. 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); // ...

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

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

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

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

  7. ChuckableBrowser Quark

    ... .focus; all.add(this); } free { all.remove(this); } initStates { stateByClass = IdentityDictionary.new; chuckClasses.do({ |class| stateByClass[class] = [nil, nil]; }); } changeClass { |class| var thisClass, thisType; thisClass = class ?? { ...

  8. ChuckableBrowser Quark

    ... .focus; all.add(this); } free { all.remove(this); } initStates { stateByClass = IdentityDictionary.new; chuckClasses.do({ |class| stateByClass[class] = [nil, nil]; }); } changeClass { |class| var thisClass, thisType; thisClass = class ?? { ...

  9. Freesound2 Quark

    ... = anUrl; filePath =PathName.tmp++"fs2_"++UniqueID.next++".txt"; params = params?IdentityDictionary.new; params.put(\api_key,Freesound2.api_key); paramsString=params.keys(Array).collect({|k|k.asString++"="++params[k].asString.urlEncode}).joi ...

  10. WavesetsEvent Quark

    ... original Wavesets */ AbstractWavesetsEvent { classvar <all; *initClass { all = IdentityDictionary.new } add { |name| all.put(name, this) } isReady { ^this.subclassResponsibility(thisMethod) } asEvent { |inevent| inevent = inevent ?? { () } ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow