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

    ... ar, b, targ, addAct; var args, lcm; // for initializing nodes globalControls = IdentityDictionary.new; target = targ.asTarget; if(parallelSynthGroup) { if(targ.isKindOfByName('MixerChannel')) { // I need the object now target = ParGroup.ba ...

  2. extLib Quark

    ... spec ?? { spec = this.asString.select(_.isAlpha).asSymbol.asSpec }; ^spec; } } +IdentityDictionary { findKeyForEqualValue { arg argValue; this.keysValuesArrayDo(array, { arg key, val, i; if (argValue == val, { ^key }) }); ^nil } } +Dictiona ...

  3. CCAllocator Quark

    ... le = CControl.newArray(controlNums, controlTypes); used = Array.new; reserved = IdentityDictionary.new; reservedTypes.do({ arg type; i = controlTypes.indexOf(type); i.notNil.if({ cc = available.at(i); reserved.put(cc.type, cc) }); }); } get ...

  4. CCAllocator Quark

    ... le = CControl.newArray(controlNums, controlTypes); used = Array.new; reserved = IdentityDictionary.new; reservedTypes.do({ arg type; i = controlTypes.indexOf(type); i.notNil.if({ cc = available.at(i); reserved.put(cc.type, cc) }); }); } get ...

  5. SCLOrkPDVoice Quark

    ... ice.setFromTokens(tokenList, verbose).not, { ^nil }); ^voice; } init { params = IdentityDictionary.new; string = ""; } rebuildString { string = ""; tokens.do({ | token | string = string ++ token.at(\string); }); } // Returns false if failed ...

  6. SCQuartzComposerView Help

    ... ructure = [ Color .black, 4, 0.1, "!!!" , [0.6, "Courier" ]]; m.dictStructure = IdentityDictionary [ \x ->(-0.4), \y ->0.4]; // get stuff out // QCView stores all structures as instances of NSCFDictionary internally // so all structure outp ...

  7. ServerGui Quark

    ... }; recorder.enabled = false; if(model.serverRunning,running,stopped); updater = IdentityDictionary[ \serverRunning -> { if(model.serverRunning,running,stopped) }, \counts -> { status.label = model.avgCPU.round(0.1).asString ++ "/" ++ model. ...

  8. ServerGui Quark

    ... recorder.enabled = false; if(model.serverRunning, running, stopped); updater = IdentityDictionary[ \serverRunning -> { if(model.serverRunning, running, stopped) }, \counts -> { status.label = model.avgCPU.round(0.1).asString ++ "/" ++ mode ...

  9. GMSwitchButton Doc

    ... rrent index to 0. Arguments: anArray An Array containing an arbitrary number of IdentityDictionary , each containing at least a \string key, and optionnals \color and \fontColor keys (see example below). Lastly, a \svg key containing a vali ...

  10. ProteinBioSynthesis Doc

    ... Ds. . bases A string of four characters representing the bases. . aminoacids An IdentityDictionary mapping aminoacid ids to aminoacid names: -1 stop, // stopcodon 0 methionin // startcodon 1 phenylalanin 2 leucin 3 serin 4 tyrosin 5 cystein ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow