-
... 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; ...
-
... assvar <>dict, <>replaceChar = $@; classvar <>relativePath; *initClass { dict = IdentityDictionary(); GlobalPathDict.put( \resources, Platform.resourceDir ); } *put { |key, path| dict.put( key, path ); } *at { |key| ^dict.at( key ); } *getP ...
-
... assvar <>dict, <>replaceChar = $@; classvar <>relativePath; *initClass { dict = IdentityDictionary(); GlobalPathDict.put( \resources, Platform.resourceDir ); } *put { |key, path| dict.put( key, path ); } *at { |key| ^dict.at( key ); } *getP ...
-
... or.white, 0.8 ).alpha_(0.3); } defType { ^\control } *initClass { activeUnits = IdentityDictionary(); } *stopAll { activeUnits.keys.asArray.do(_.set( \active, false )); } *deactivateAll { activeUnits.keys.asArray.do(_.deactivate); } *new { ...
-
... sPerOctave) div: stepsPerOctave; 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 ...
-
... timeToDots, timeToDur; *initClass { clefs = [\perc, \g, \f, \c]; rhythmToDur = IdentityDictionary[ \q -> 0.25, \qd -> 0.25, \qdd -> 0.25, \e -> 0.125, \ed -> 0.125, \edd -> 0.125, \s -> 0.0625, \sd -> 0.0625, \sdd -> 0.0625, \t -> 0.03125, ...
-
... ar <>key; // var <>target = \post; *initClass{ Class.initClassTree(Spec); all = IdentityDictionary.new; Spec.add( \verbosity, [0,10,\linear,1,0,"V"] ); } *add{ |key,inst| all.put( key.asSymbol, inst ); } *remove{ |key| all.removeAt( key.asS ...
-
... ay Integer Automatic AbstractChuckNewArray Array Symbol prNew AbstractChuckDict IdentityDictionary Symbol Automatic AbstractChuckNewDict IdentityDictionary Automatic creation types are for objects which may have an unlimited number of insta ...
-
... ay Integer Automatic AbstractChuckNewArray Array Symbol prNew AbstractChuckDict IdentityDictionary Symbol Automatic AbstractChuckNewDict IdentityDictionary Automatic creation types are for objects which may have an unlimited number of insta ...
-
... without this, importing into an instance corrupts the class proto env.parent = IdentityDictionary(parent: env.parent); objectKeyDict.keysValuesDo({ |obj, keysToImport| (obj2 = obj.asProtoImportable).notNil.if({ keysToImport.do({ |key| this ...