-
... scriptive information about an object for drag-n-drop purposes // This stores a ref to an object with a name and a "type" symbol NamedRef : Ref { var <>name, <>type, <>properties; *new { arg thing, name, type, properties; ^super.new(thing) ...
-
... scriptive information about an object for drag-n-drop purposes // This stores a ref to an object with a name and a "type" symbol NamedRef : Ref { var <>name, <>type, <>properties; *new { arg thing, name, type, properties; ^super.new(thing) ...
-
... dMixer.store(x)}}, {Dialog.openPanel{|x| redMixer.free; redMixer= RedMixer.restoreFile(x); redMixer.init; redMixer.gui(Point(win.bounds.left, win.bounds.top)); this.close; }} ][index].value; }; macroItems= #[ "_macros_", "defaults", "random ...
-
... j = JSONlib.convertToJSON(o); this.assertEquals( j, "{ \"null\": null }", "Use Ref(nil) to represent null in event"; ); // .parseJson allows us to store nil in a dict // which is not possible otherwise o = "{\"null\": null}".parseJSON; j = ...
-
... ts of integers. data - Generators and an optional integer limit, wrapped into a Ref, which is included when reached. Allowed generators: Integers, Streams or Patterns producing intervals or Sieves itself. Integers and Stream/Pattern output ...
-
... r param= this.cvsToParam(k); controllers.add( SimpleController(v).put(\value, {|ref| synth.set(param, ref.value); }) ); }; } //--for subclasses *def {^this.subclassResponsibility(thisMethod)} }
-
... em all cvs= (); specs= (out: \audiobus.asSpec); controllers= List.new; cvs.out= Ref(specs.out.default); controllers.add( SimpleController(cvs.out).put(\value, {|ref| efxs.do{|x| x.out= ref.value}; }) ); //--add all efx cvs to this cvs efxs. ...
-
... f(Symbol) } { this.prConvertToJson(v.asString) } // only check value if it is a ref { v.isNil or: { v.isKindOf(Ref) and: { v.value.isNil } } } { "null" } // sc closely implements the JSON string, see https://www.json.org/json-en.html // but ...
-
... ); } initRedMixer {|argInputChannels, argOutputChannels, lag| cvs= (); cvs.lag= Ref(lag); //--temp storage to avoid channel arguments for init internalInputChannels= argInputChannels; internalOutputChannels= argOutputChannels; } init {|argG ...
-
... t(token) !? { synthSettings.at(token).keysValuesDo { |key, val| if(val.isKindOf(Ref)) { // ref means that all subsequent synths on the same level will inherit the value current.put(key, val.dereference); } { thisSetting.put(key, val) } } }; ...