-
... Dir, orderByYear).init; } init { var currentYear = Date.getDate.year; presets = IdentityDictionary.new; parameterViews = Array.new; voiceError = false; stringPlaying = ""; yearBuckets = Array.new(8); yearBuckets = yearBuckets.add(currentYea ...
-
var getTextProperties = { var result = IdentityDictionary.with(\textProperties -> ~textProperties); ~textProperties.do { |key| result.put(key, key.envirGet); }; result }; /** Chucklib-livecode: A framework for live-coding improvisation of e ...
-
... rse If the instance was created by loading a .yml file, this method returns the IdentityDictionary containing the parsed metadata. This can be useful if anything was stored in the metadata that can be subsequently used once reloaded, such a ...
-
... ting their source to silence. *all *all_(envir) Set or return the environment ( IdentityDictionary ) that stores all Pdefns. Pdefn in expressions Pdefn ( \c , Pdefn ( \a ) + Pdefn ( \b )); t = Pdefn ( \c ).asStream; // create a stream from ...
-
... has been stopped"].postln; listener.stop; } setup { id = IdentityDictionary.new; listener = LocalClient.default; listener.start; // this stuff gets executed on the remote server // it's here becau ...
-
... }"); }) ; parent ?? { window.front }; all.add(this); } result { var res; res = IdentityDictionary.new; tmpShortcuts.do({ |it| res.put(it.key, it.value) }); // "res: %\n".postf(res.cs); ^res; } setShortcuts { |view| var thisMod, thisArrMod; ...
-
... ize); this.keysValuesDo({ |k, v| new.put(k, v.shallowCopyItems); }); ^new } } + IdentityDictionary { shallowCopyItems { ^super.shallowCopyItems .proto_(proto) // child object should not be modifying parent/proto .parent_(parent) // so we do ...
-
... eaders, papers; score = []; layoutOverrides = []; includeMIDI = false; lyVars = IdentityDictionary.new; paper = Dictionary.new; header = Dictionary.new; baseMeasurementUnit = "cm"; // set an initial value this.paperSize_("letter", false); } ...
-
... }); ^f.valueArray([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 ...
-
... }); ^f.valueArray([object] ++ args ) } *editorFor { ^editorFor ?? { editorFor = IdentityDictionary[ // has an extra arg SimpleNumber -> { arg n, spec; if(spec.class === ControlSpec, { KrNumberEditor(n, spec) }, { NumberEditor(n, spec) }) }, ...