-
... ); } 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); } }
-
... ects may be conceived to implement matchItem to extend the interface. See also: Dictionary matchAt . implementations: Object :matchItem(item) Test if item is identical to object. a = [1, 2, 3, "wort" , "1" , [pi, 2pi]]; a.any { |x| x.matchI ...
-
... =============================================== ## 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 ...
-
... tFile Takes a faustfile as input, parses it as JSON and returns the result as a dictionary. . checkVersion Arguments: largerThanOrEqual . isFaustFile Arguments: file . prAsPathName Arguments: file Inherited class methods Instance Methods In ...
-
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 ...
-
... . t = Steno.new; t.set(\a, \amp, 0.2, \zz, 1.286); t.settings; // settings is a dictionary of dictionaries ⧉ ✔ t = Steno.new; t.quelle(\a, { SinOscFB.ar(2 ** LFTri.kr(\modrate.kr(2)) * \freq.kr(300), \feedback.kr(0.5)) * 0.1 }); t.quelle(\b ...
-
... 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 ...
-
... e(),Some(Point(3,4))].collect( _.collect( _.x) ).flatten // -> return [1,3] ⧉ ✔ Dictionary.get returns None() if the key doesn't exist and Some(x) if they key has value x. (\freq:400, \amp: 1).get(\freqMod).collect(_*3) (\freq:400, \amp: 1) ...
-
... 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 ...