-
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 ...
-
... ressees; var <replyTags; *new{ ^super.new.init; } init{ interessees = MultiLevelIdentityDictionary.new; replyTags = IdentityDictionary.new; } add{ |osctag,id,client,replyTag| osctag = osctag.asSymbol; if ( interessees.at( osctag, id.asSymbo ...
-
... { arg time, resp, msg; msg.postln; }); // and remove your responder. This is an IdentityDictionary in the class, so you can have as // many responders with unique ids that you want a.removeResp( \test ); // this sends a message to everyone ...
-
... y); z[i] = y; creating IdentityDictionaries instead of writing: you can write: IdentityDictionary['a'->1,'b'->2] (a: 1, b: 2) creating arithmetic series instead of writing: you can write: Array.series(16,1,1) , or series(1,nil,16) (1..16) ...
-
... Class Methods HIDdef. all Get the global dictionary of all HIDdefs. Returns: An IdentityDictionary HIDdef. freeAll Clears and deactivates all HIDdefs from the global collection. HIDdef. new ( key , func ) Access an existing HIDdef. This is ...
-
... fix to avoid overwriting addToAll { |name| this.class.all ?? { this.class.all = IdentityDictionary() }; this.class.all[ name ] = this; // name doesn't need to be a Symbol } } HiddenFreeUdef : FreeUdef { // these are not added to the global ...
-
... = d-three-quarter-flat, ctqs = c-three-quarter-sharp *initClass { noteToScale = IdentityDictionary[ \c -> 0, \d -> 1, \e -> 2, \f -> 3, \g -> 4, \a -> 5, \b -> 6 ]; scaleToNote = IdentityDictionary[ 0 -> \c, 1 -> \d, 2 -> \e, 3 -> \f, 4 -> ...
-
... , { coeffsFOS = [ coeffs.last.copyRange(0, 1) ++ (-1 * [coeffs.last[4]]) ] }); ^IdentityDictionary.with(*[\sos->coeffsSOS, \fos->coeffsFOS, \g->g]).know_(true) } dist { |radius = (AtkHoa.refRadius), sampleRate, speedOfSound = (AtkHoa.speedO ...
-
... Object.readArchive("ixiquarks/preferences/presets.ixi").isNil, { settingsDict = IdentityDictionary.new; "ixi-NOTE: NO WORRIES! 'presets.ixi' gets created when you store a preset".postln; }, { settingsDict = Object.readArchive("ixiquarks/pre ...
-
... or.white, 0.8 ).alpha_(0.4); } defType { ^\control } *initClass { activeUnits = IdentityDictionary(); CmdPeriod.add( this ); } *cmdPeriod { activeUnits.keys.asArray.do(_.set( \active, false )); } *new { |name, startFunc, endFunc, args, cate ...