-
... lBusWatchers; var <aliveThread, <>updateFreq = 8; *initClass { allBusWatchers = IdentityDictionary.new; CmdPeriod.add(this); } *cmdPeriod { allBusWatchers.do(_.clear) } *newFrom { arg server; var res; res = allBusWatchers.at(server.name); i ...
-
... = \methodControllerSync; } } }; ^super.newCopyArgs( model , msg , spec.asSpec , IdentityDictionary( ) , IdentityDictionary( ) , modelget , modelset , updateObjectOnChange ); } prLinkFrom{ | obj, linkfunc | if( objChangedActionDictionary[obj ...
-
... >offset = 64; classvar <>specs; *initClass { Class.initClassTree(Spec); specs = IdentityDictionary(); specs.put( \bus, PositiveIntegerSpec(0,0,64) ); } *ar { |bus = 0, numChannels = 1| ^In.ar( bus + FirstPrivateBus.ir + this.offset, numChan ...
-
... ter in many cases, but less flexible. //only objects that can act as keys in an IdentityDictionary can be read IdentityMarkovSet : MarkovSet { init { dict = IdentityDictionary.new; this.makeSeeds; } nodeClass { ^IdentityWeighBag } } LookupM ...
-
... rs; *new { arg ... pairs; ^super.new.init(pairs) } init { arg pairs; handlers = IdentityDictionary.new; pairs.pairsDo { arg klass, func; handlers[klass] = func } } value { arg object ... args; object.class.superclassesDo { arg klass; var h; ...
-
... var varKeys = this.varCtr.select { |x,i| i.even }; var varSliderIndexKeyDict = IdentityDictionary.new; var synthSliderMIDIFuncs = this.synthCtrSliders.collect {}; var synthSliderSrcData = this.synthCtrSliders.collect {}; var synthGrouping ...
-
... Device( dev ) ); } *detectDuplicateElements { |elements| var elementUsageDict = IdentityDictionary.new; var duplicates = IdentityDictionary.new; var uniques = IdentityDictionary.new; var usagePageKey; elements.sortedKeysValuesDo { |elid,ele ...
-
... MIDIDict.getEvent( *filter.next[[0,1,2,3]] ) ? val; 2.do({ if( newVal.isKindOf( IdentityDictionary ) ) { newVal = newVal.values.asArray.first; }; }); if( newVal.isKindOf( Array ) ) { newVal.select(_.notNil).first }; val = newVal ? val; mapF ...
-
... r, numChannels| ^super.newCopyArgs(server, numChannels).init } init { buffers = IdentityDictionary.new; bufferEvents = IdentityDictionary.new; synthEvents = IdentityDictionary.new; metaDataEvents = IdentityDictionary.new; } free { synthEven ...
-
... larger than 0, all incoming OSC messages for this thing are posted. properties IdentityDictionary holding all properties of the thing. actions IdentityDictionary holding all actions which should be performed as a property value is received ...