-
... 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */"; *initClass{ unitDict=IdentityDictionary[ // from AudioUnitProperties.h \Generic->0, /* untyped value generally between 0.0 and 1.0 */ \Indexed-> 1, /* takes an integer value (good f ...
-
... time, replyAddr, recvPort) }; }; thisProcess.addOSCRecvFunc(~respFunc); ~data = IdentityDictionary.new; // save all incoming data by oscpath if(~labels.isNil) { ~labels = IdentityDictionary.new }; ~setDataKeys.(); if(~keepAlive) { ~startAli ...
-
... makeSetBundle { |selector(\set), bundle(OSCBundle.new) ... argList| var nodes = IdentityDictionary.new; var doMap = { |map, key, value| var i, msg; map.keysValuesDo { |ctlname, set| set.do { |object| var old; old = object.argAt(ctlname); if ...
-
... x).play; Tdef(\x).clear; ⧉ ✔ Class Methods Tdef. all Tdef. all = value A global IdentityDictionary with all proxies. Creation Tdef. new ( key , item ) Store the task in a global dictionary under key, replacing its routine function with the ...
-
... f({Color.red}, {Color.red(0.5, 0.5)})}; background = Color.white; selectModes = IdentityDictionary[ \nextNeighbour -> {|view, data, pos, itemSize| var threshold, index, selected; threshold = itemSize*2; index = data.detectIndex{|item| (item ...
-
... = TempoClock(120/60, queueSize: 2048 * 2).permanent_(true); timelineRegister = IdentityDictionary.new; midiFuncRegister = Array.new; } add { arg function, timeline, timelineOptions = (); timeline = timeline.asTimeline(clock, timelineOption ...
-
... Chain; var <checkingBadValues = true, <badSynth, badDefName; *initClass { all = IdentityDictionary.new; } *default { ^all[Server.default.name] } // only one masterfx per server ATM. // This could be changed if different MasterFX // for diff ...
-
... ), which would shadow these keys and never reach them via // doesNotUnderstand. IdentityDictionary has no such methods, so with know_(true) it // exercises the same key-lookup doesNotUnderstand path a real Synth would take. var mockSynth = ...
-
... .) and can also be used for introspection. The class Spec itself holds a global IdentityDictionary of common specifications. The name that the spec was stored as can then be used as a shorthand to refer to specs: \freq.asSpec ⧉ ✔ Some commo ...
-
... mage { classvar <>imageDict; var image; var <filePath; *initClass { imageDict = IdentityDictionary(); } *new { |filePath| ^super.new.init( filePath ); } init { |inFilePath| if( inFilePath.notNil ) { filePath = inFilePath.getGPath; if( image ...