-
... protocol); }; }, MKtlDesc, { newMKtlDesc = lookupNameOrDesc }, { // or is it a dictionary we can make a desc from? if (MKtlDesc.isValidDescDict(lookupNameOrDesc)) { lookupNameOrDesc.put(\filename, name); newMKtlDesc = MKtlDesc.fromDict(loo ...
-
... ents as object prototypes . NOTE: PLbindefs are registered globally in the same Dictionary as Pdefs, Pbindefs and PLbindefPars. It's recommended to do cleanup with remove or Pdef.removeAll after using PLbindef / PLbindefPar as in examples b ...
-
// wslib 2011 // EM =-= EnvironmentModel // supports simple MVC structures for Environments // whenever a value for a key is changed it calls .changed /* e = EM( \freq, 440, \amp, 0.1 ); ( // make a gui for it: e.makeWindow = { |env| var wi ...
-
... idea? } } *prepareObserve { observeDict = (); allMsgTypes.do(observeDict.put(_, Dictionary())); } *openDoc { Document("edit and save me", this.compileFromObservation ); } *openDocFromDevice { |dev| Document("edit and save me", this.compileF ...
-
... n be of very irregular efficiency, this current implementation uses an identity dictionary to find the indices of items in constant time. Higher order is slightly more costly, but still this is a major speed increase. This implementation al ...
-
Other event and patterns shortcuts: Filter: Description 1.) Event shortcuts 1a: Event methods 1b: Event-related methods defined for SequenceableCollections 2.) Event-pattern-related methods defined for SequenceableCollections Tutorials (ext ...
-
... remove itself (as a dependant). Otherwise it will stay in the model's dependant dictionary and will not get garbage collected. It will also continue to respond to update messages. If the window has closed this means it will try to change vi ...
-
... ce.currentPars.at( \freqmod ) ) }; ); // current values are always found in the dictionary: currentPars. ( // the moveFunc is the function to determine the movement in each time frame: ~space.moveFunc = { ~movevect; }; ~movevect = [0,0]; // ...
-
... Bounds, argNumIns, argNumOuts, argCanvasXY| extraArgs = argExtraArgs; modGets = Dictionary.new; modSets = Dictionary.new; helpString = "No help available for this plugin."; //every connecting plugin gets inputs from the plugin it connects. ...
-
... See also softSet , softVol_ . changes an existing numerical value for key in a dictionary only in two conditions: * if the new value is close enough to the current value at that key; *or if the setting controller knows the previous value a ...