-
... ); } 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); } }
-
... =============================================== ## Glossar + ```q``` -- global dictionary holding everything ## File system structure + ```0_globals``` -- tools and utilities * server config * sample loading routine * network config * sett ...
-
... 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 ...
-
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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... // 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 ...
-
... r, function; var methodDict; if (uniqueMethods.isNil, { uniqueMethods = IdentityDictionary.new }); uniqueMethods.put(selector, function); } doesNotUnderstand {arg selector ... args; (uniqueMethods[selector].notNil).if({ ^uniqueMethods[selec ...