-
... as object prototypes Classes | Collections > Unordered'>Unordered Environment : IdentityDictionary : Dictionary : Set : Collection : Object A dictionary which can serve as a 'name space' for functions Source: Environment.sc Subclasses: Even ...
-
... evice.uid }; proxyspace = space; channel = chan; notes = Array.new; midiFuncs = IdentityDictionary.new; [ noteOn: { |vel, num| this.noteOn(num, vel) }, noteOff: { |vel, num| this.noteOff(num, vel) } ].pairsDo { |name, func| midiFuncs.put(na ...
-
... se; if(functionSynthDefDict == nil, { returnBoth = true; functionSynthDefDict = IdentityDictionary(); }); //Reset the vars for parsing a pattern parameter if((obj.isAlgaPattern).or(obj.isAlgaPatternPlayer), { this.resetPatternParsingVars; } ...
-
... red'>Unordered | Streams-Patterns-Events > Events'>Events Event : Environment : IdentityDictionary : Dictionary : Set : Collection : Object an environment that represents an action Source: Event.sc See also: Pattern , Environment , Identity ...
-
... pe).postln; } initOSCDict { if ( oscFuncDictionary.isNil ){ oscFuncDictionary = IdentityDictionary.new; }; mktl.elementsDict.do { |el| var oscPath = el.elemDesc[ \oscPath ]; var ioType = el.elemDesc[ \ioType ]; var argTemplate = el.elemDesc ...
-
... apped functions, stored using their owning responder funcs as keys. Returns: An IdentityDictionary . . add ( funcProxy ) Add a responder func to this dispatcher. Subclasses should extend this to do any necessary bookkeeping. Generally this ...
-
... mbol); } init { |inSymbol| symbol = inSymbol ?? \r; ^this; } *initClass { all = IdentityDictionary[ \hq -> 27, // high q \sl -> 28, // slap \scr -> 29, // scratch \sps -> 29, // scratch push \spl -> 30, // scratch pull \st -> 31, // sticks ...
-
... inDegrees; name = inName ?? "Unknown progression"; ^this; } *initClass { all = IdentityDictionary[ \sad -> Progression.new(degrees: [0,3,4,4], name: "Sad"), \ballad -> Progression.new(degrees: [0,0,3,5], name: "Ballad"), \balladAlt -> Prog ...
-
... FloatArray.fill(nFrames, 0.0) }; ampMax = 0.0; freqMax = 0.0; analysisParams = IdentityDictionary.new; } // Mean frequency over frames where this partial is active (amp > 0) partialMeanFreq { |partialIndex| var sumF = 0.0, count = 0; frame ...
-
... {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 el ...