-
... envnode, \lag, lag])}); } saveToData {arg anAssociation; data.isNil.if({data = Dictionary.new(1)}); data.add(anAssociation); } env_ {arg newenv; isRunning.if({ "You can not change an envelope while the ProcMod is running".warn; }, { env = ...
-
... ound, imageAlpha=1.0, imageComposition= Compositing .sourceIn\ ;\ \ resources = Dictionary [\ 'bg' -> Image ( "resources/gradient.jpg" ), \ 'icon' -> Image ( "resources/Swamp.png" ), \ 'recButton' -> [ \ Image ( "resources/TrBtn_record_off. ...
-
... rn | ^super.new.init(algaPattern) } init { | argAlgaPattern | entries = IdentityDictionary(10); interpSynths = IdentityDictionary(10); interpBusses = IdentityDictionary(10); interpBussesToFree = IdentitySet(); algaPatternSynths = IdentitySe ...
-
... ts((start: 56, num: 78, wavesets: a)).play; // we can add a waveset to a global dictionary a.add(\one); b.add(\two); // then you can access by name: Pwavesets((start: 56, num: 78, name: \one)).play; // currentSize returns a stream with the ...
-
... papers; score = []; layoutOverrides = []; includeMIDI = false; lyVars = IdentityDictionary.new; paper = Dictionary.new; header = Dictionary.new; baseMeasurementUnit = "cm"; // set an initial value this.paperSize_("letter", false); } checkSt ...
-
... alueArray([object] ++ args ) } *editorFor { ^editorFor ?? { editorFor = IdentityDictionary[ // has an extra arg SimpleNumber -> { arg n,spec; if(spec.class === ControlSpec,{ KrNumberEditor(n,spec) },{ NumberEditor(n,spec) }) }, Env -> { arg ...
-
... alueArray([object] ++ args ) } *editorFor { ^editorFor ?? { editorFor = IdentityDictionary[ // has an extra arg SimpleNumber -> { arg n, spec; if(spec.class === ControlSpec, { KrNumberEditor(n, spec) }, { NumberEditor(n, spec) }) }, Env -> ...
-
... ods = 262144; *new { this.shouldNotImplement(thisMethod) } *initClass { snips = Dictionary.new; Class.initClassTree(Clock); if('Document'.asClass.notNil) { Class.initClassTree(Document); }; action = { |doc, char, modifiers, unicode, keycode ...
-
... e.asCompileString + "not found").throw; } } init { arg n; name = n; functions = Dictionary.new; all.put(name, this); } *initClass { all = IdentityDictionary.new; } // defining add { arg selector, func; functions.put(selector, func) } addAll ...
-
... ) } *controls { |ugenFunc, applySpecs = false| var bent, ctlName, spec, names = Dictionary.new, ugenCount; ^this.new({ |original, argName, ugen| ctlName = "%_%".format(argName, ugen.class.name); ugenCount = names.at(ctlName); ugenCount = if ...