-
... t."); test.assert(Singleton.all[Singleton].includes(Singleton(\one)), "Internal dictionary has correct object."); test.assert(Singleton(\one) !== Singleton(\two), "Different singletons are different."); oldObject = Singleton(\one); Singleto ...
-
... r, dict ... args| [selector, dict].postln; if(args.notEmpty or: { dict.isKindOf(Dictionary).not }) { Error("this method requires all arguments passed as a dictionary").throw } { self.object.performWithEnvir(selector, dict) } } ) ); ) b.nude ...
-
... will die with error // so, prevent that if(this.class.exists(collIndex)) { if([Dictionary, SequenceableCollection].every { |class| presetDef.isKindOf(class).not }) { Error( "Presetdef for '%' should be a dictionary/array but isn't" .format ...
-
... o.getState d["/reverb/level"].postln d.at("/osc/1/pulse/level").postln d.class Dictionary o.modulPatchbayAudio o.pairDevice Quark("SynthiGME").localPath == Quarks.quarkNameAsLocalPath("SynthiGME") Quark Quarks Collection [1,2,3,4].any({|it ...
-
... true). For protecting whole lists from immediate replacements see PLn . envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...
-
... e.transform(list, index) } eventDuration { ^this.maxItem(_.eventDuration) } } + Dictionary { nthItem { arg index = 0; ^this } recognise { arg list, index = 0; ^this.matchAttributes(list.nthItem(index)) } transform { arg list, index=0; ^this ...
-
... npackNotes { arg notes; ^notes.collect(_.dereference) } *initClass { weakRefs = Dictionary.new; annotations = Dictionary.new; } *new { arg weakRef; ^super.newCopyArgs(weakRef) } dereference { ^weakRefs[weakRef] } } AnnotatedDebugNodeWatcher ...
-
... w.init; }); ^instance; } init { this.prBindClockSync; wireSerial = 0; wireMap = Dictionary.new; cohortStateMap = Dictionary.new; SCLOrkWire.bind( port: knockPort, wireIssueId: { wireSerial = wireSerial + 1; wireSerial; }, wireOnConnected: { ...
-
... npackNotes { arg notes; ^notes.collect(_.dereference) } *initClass { weakRefs = Dictionary.new; annotations = Dictionary.new; } *new { arg weakRef; ^super.newCopyArgs(weakRef) } dereference { ^weakRefs[weakRef] } } AnnotatedDebugNodeWatcher ...
-
ForceManager { var <>forces; *new{ arg forces = []; forces = Dictionary.newFrom(forces); ^super.newCopyArgs(forces); } /* public */ add{ arg forceFunction, key; key ?? {key = ("Force_" ++ ( forces.size + 1 )).asSymbol}; forces.add(key -> fo ...