-
... I'm here"); // puts a value in each a.copy.put(2, "..."); a // lift calls to a dictionary f = { |receiver, func, args| receiver.copy.collect { |x| func.(x, args) } }; a = Lift((tables: 7, chairs: 8), f); a + 10 * 10 // many chairs, many ta ...
-
... er Automatic AbstractChuckNewArray Array Symbol prNew AbstractChuckDict IdentityDictionary Symbol Automatic AbstractChuckNewDict IdentityDictionary Automatic creation types are for objects which may have an unlimited number of instances (su ...
-
... er Automatic AbstractChuckNewArray Array Symbol prNew AbstractChuckDict IdentityDictionary Symbol Automatic AbstractChuckNewDict IdentityDictionary Automatic creation types are for objects which may have an unlimited number of instances (su ...
-
... l; } { ^global = this.new( n ); }; } init { |inN = 24| dict = MultiLevelIdentityDictionary(); inN.do({ |i| dict.putTree( i, [ \slider, 0, \touch, 0, \knob, 0.5, \knobPush, 0, \knobHilited, false, \knobCentered, true, \solo, 0, \on, 0, \rec, ...
-
+ Color { *colorPalettes {var colorPalettes; colorPalettes = Dictionary.new; colorPalettes.add(\club -> [ Color.new255(51,51,86), Color.new255(92,92,120), Color.new255(133,133,154), Color.new255(173,173,187), Color.new255(214,214,221) ]); c ...
-
... Class { Class.initClassTree(Collection); Library.global.put(\mixerdefs, IdentityDictionary.new); StartUp.add { MixerChannelDef(\mix1x1, 1, 1, fader: SynthDef("mixers/Mxb1x1", { arg busin, busout, level, clip = 2; var in, bad, badEG; in = In ...
-
... st index by classname *initClass { var traverseSubclasses; collection = IdentityDictionary.new; classHooks = MultiLevelIdentityDictionary.new; // recursively go thru subclasses to add a collection for each subclass to the coll (traverseSubc ...
-
... il, true, "makeProcess should have created a process named 'dummy' in processes dictionary" ); } test_process_satieInstance { var process = satie.makeProcessInstance(\foobar, \dummy); this.assertEquals( process.satieInstance, satie, "A proc ...
-
... , audioIn, numInChannels, addAction = 0, target = 1, server; ^super.newCopyArgs(Dictionary.new, nil, starttime, condition, amp, id, server) .initCPMod(addAction, target, outbus, numChannels, audioIn, numInChannels); } initCPMod {arg argAddA ...
-
... sIncomplete==0}; b.free; } // test_logger_listtrig test_insideout { var tests = Dictionary[ "InsideOut.ar applied twice is noop" -> {var son = PinkNoise.ar; (son - InsideOut.ar(InsideOut.ar(son)))}, "InsideOut.kr applied twice is noop" -> { ...