Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ); } gui { | bounds, preset| ^PdefnGui(this, 1, bounds, options: preset); } } + Dictionary { gui { | numItems, bounds, preset| numItems = numItems ?? { max(8, this.size) }; ^EnvirGui(this, numItems, nil, bounds, options: preset); } }

  2. MetaControlSetup-AdC_HH Quark

    ... =============================================== ## Glossar + ```q``` -- global dictionary holding everything ## File system structure + ```0_globals``` -- tools and utilities * server config * sample loading routine * network config * sett ...

  3. extDictBlend Quark

    ... nd = 0.5| ^this.map( this.unmap(val1).blend( this.unmap(val2), blend ) ); } } + Dictionary { // mode is one of [ \left, \right, \sect, \union ] blend2 { |dict2, blend = 0.5, mode = \left, specs, warnIfSpecMissing = true| var res; // if righ ...

  4. ParsedString Quark

    ParsedString { /// parses strings into dictionary (Event) // ParsedString( "a=1; b=2" ).dict // --> ( 'a': 1, 'b': 2 ) // ParsedString( "a:1, b:2" ).dict // --> ( 'a': 1, 'b': 2 ) var <string, <dict, <keys; // keys stay in ordered form var ...

  5. plusServer Quark

    ... ck.value(); if(synthControls,{ data.numControls = suck.value(); data.controls = Dictionary.new; data.numControls.do { data.controls[ suck.value() ] = suck.value(); }; }); },{ data.nodeType = Group; data.children = Array.fill(data.numChildre ...

  6. TestPV_ChainUGen Quark

    ... me with reals all 1 and imags all 0: this.pv_equivalencetests_common(fakeframe, Dictionary[ "PV_MagAbove" -> {|f| PV_MagAbove(f, 0.9)}, "PV_MagBelow" -> {|f| PV_MagBelow(f, 1.1)}, "PV_MagClip" -> {|f| PV_MagClip(f, 1)}, "PV_MagSmear" -> {|f ...

  7. extObject Quark

    ... is.value == 1) || (this.value == true) } miSC_getEnvir { SimpleInputError("Only Dictionary or Symbols 'top' ('t') or 'current' ('c') " ++ "allowed as envir input.").throw; } miSC_repTypeFactor { |type = inf| ^type } miSC_applyNaryFuncProxy ...

  8. SGME_GUIPanel6 Quark

    ... er.new.init(synthi, parameters); } init {|synthi, parameters| horizontalNames = Dictionary.newFrom(SGME_GUIPanel6.horizontalNames); verticalNames = Dictionary.newFrom(SGME_GUIPanel6.verticalNames); ^super.init(synthi, parameters); } makeWin ...

  9. Proto-ext Quark

    ... // some data maybe should go in parent: provide a collection of keys + IdentityDictionary { moveFunctionsToParent { |keysToMove| var movedKeys; // because you shouldn't delete things from a collection under iteration movedKeys = IdentitySe ...

  10. CTK Quark

    ... r, function; var methodDict; if (uniqueMethods.isNil, { uniqueMethods = IdentityDictionary.new }); uniqueMethods.put(selector, function); } doesNotUnderstand {arg selector ... args; (uniqueMethods[selector].notNil).if({ ^uniqueMethods[selec ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow