-
FuzzyDictionary random lookup dictionary superclass: IdentityDictionary put(key, obj) put an object into the dictionary. If there is already an object at that key, the new object is added to the list of choices. at(key) retrieve an object a ...
-
... with a lowercase letter, (7: [1, 2, 3]) should become: dict[7], not dict.7 */ + Dictionary { skeys { var keys = this.keys(Array); try { keys.sort }; ^keys } printSKeys { |prefix = ""| ^this.skeys.do { |key| (prefix ++ key.cs).postln; } } pr ...
-
... ng ++ "/"; File.mkdir(presetPersistanceDir); // Create if not exists. presets = Dictionary(); nameToPositionMap = Dictionary(); presetNamesSorted = Dictionary(); eventPresetsChanged = Dictionary(); } initialize { |contextId| this.contextId ...
-
... ss has a CCResponder that listens to an (optional) MIDI source uid, and keeps a dictionary for the actions to do when specific MIDI events from that source comes in. This is a little more efficient that CCResponder, as there is less matchin ...
-
... tring} { //string res.add(val.size).add($:).add(val); } {val.isKindOf(Set)} { //dictionary res.add($d); val.asSortedArray.do{|a| res.add(this.encode([a[0].asString, a[1]]))}; res.add($e); } {val.isSequenceableCollection} { //list res.add($l ...
-
... a database of multiple Sampler //The data structure of SamplerDB Instance is a Dictionary in this format // [ \Sampler_Name -> Sampler_Instance, \Sampler_Name -> Sampler_Instance, ...] SamplerDB{ classvar < dbs; //System log for all sample ...
-
... g input channels // // Each different source/channel is tracked inside encoders dictionary // // Distance cues are supported by means of distance attenuation and air absorption simulation // // ATK Binaural SynthDefs are treated specially, ...
-
... quenceableCollection) } { ^"[ % ]".format(this.fromArray(obj)) } { obj.isKindOf(Dictionary) } { ^this.fromDict(obj) } { obj.isKindOf(Set) } { ^"[ % ]".format(this.fromArray(obj.as(Array))) } } *fromArray { | obj | ^obj.collect({ | item | th ...
-
ChordtrisPreferences { // Dictionary containing symbols as keys and instances of ChordtrisPreferenceSetting as values classvar preferences; // the Chordtris library folder classvar preferenceFolder; // the path to the file classvar preferen ...
-
+ String{ /// returns a dictionary with stats of the named process getStats{ var stats; stats = ("ps -C \""++this++"\" u").unixCmdGetStdOut; // stats.postcs; // some reformatting: stats = stats.split($\n).collect{ |it| it.split($ ) }.do{ |i ...