-
... \tUsing default presets.".inform; // add various synthesis strategies presets = IdentityDictionary[ \reson -> {|in, sreim| // multichannel controls var freqs, amps, rings; var ringtime, highFreq; // controls ringtime = \ringtime.kr(0.1); hi ...
-
... {|myNetAddr| netAddr = myNetAddr; capMinMax = [0, 16383]!numCap; encoderDict = IdentityDictionary.newFrom([\a, 0, \b, 0, \c, 0, \d, 0, \e, 0, \f, 0]); imuDict = IdentityDictionary.newFrom([\g, [0,0,0], \a, [0, 0, 0], \m, [0, 0, 0], \t, 0]) ...
-
... o customize this class var temp; root = (root ? 0) % stepsPerOctave; keyToDeg = IdentityDictionary.new; temp = 0; // i scans thru keys, temp thru degrees stepsPerOctave.do({ |i| (scale[temp] == i).if({ keyToDeg.put(i, temp); // found the ex ...
-
... ar <properties; var <>verbose = 0; init{ this.initProps; } initProps{ actions = IdentityDictionary.new; properties = IdentityDictionary.new; responders = List.new; } oscPath{ |property| ^("/world" ++ "/" ++ name ++ "/" ++ property.asString) ...
-
var register = IdentityDictionary.new, asuuid = { arg uuid; (uuid ?? {9999999999999.rand}).asSymbol; }, get = { arg uuid; var p = register[uuid.asSymbol]; if(p.isNil, { Error("Player not in registery:" + uuid.asCompileString).throw; }); p } ...
-
... f; *initClass { Class.initClassTree(Collection); Library.global.put(\mixerdefs, IdentityDictionary.new); StartUp.add { MixerChannelDef(\mix1x1, 1, 1, fader: SynthDef("mixers/Mxb1x1", { arg busin, busout, level; var in, bad, badEG; in = In.a ...
-
... var <>pr_method_dict, <pr_behavior; *new { |dict| ^super.newCopyArgs(dict ?? { IdentityDictionary.new }) } pr_behavior_ { |behavior| pr_behavior = behavior; behavior.pr_abstractObject = this; } addMethod { |selector, function| selector = s ...
-
... var fileMethodMap, fileClassMap; *generateFileMap { var classes; fileClassMap = IdentityDictionary(); fileMethodMap = IdentityDictionary(); classes = Class.allClasses; classes.remove(QMetaObject); classes.remove(QObject); classes.do { |clas ...
-
... classvar <isRunning = false; classvar <>verbose = true; *initClass { objects = IdentityDictionary(); } *isRunning_ { |bool = true| isRunning = bool; this.changed( \isRunning, bool ); } *hasStarted_ { |bool = true| hasStarted = bool; this.c ...
-
... hDefDict; var <>name; *initClass{ tempDefCount = Dictionary.new; synthDefDict = IdentityDictionary( ); } *new { |name, func, args, category| ^super.basicNew( name, args, category, false ).name_(name).init(func) } *fromUdef { |def| var udef; ...