-
... x.init(group)}; }); controllers= List.new; channels.do{|x, i| controllers.add( SimpleController(x.cvs.out).put(\value, {|ref| internalSynths.do{|x| x.set(\inputs, this.inputChannels)}; }) ); }; //--internal synth for routing from channels ...
-
... ec; ctrl.remove; kkey = unit.get( \key ); spec = unit.getSpec( \value ); ctrl = SimpleController( currentEnvironment ) .put( kkey, { val = currentEnvironment[ kkey ] ? (spec.default); fromSpec = currentEnvironment[ \u_specs ] !? _[ kkey ] ? ...
-
... ixer.in= val; inNumbers.do{|x, i| x.string= "i"++(i+val)}; }); controllers.add( SimpleController(redMatrixMixer.cvs.in).put(\value, {|ref| inBox.value= ref.value; inNumbers.do{|x, i| x.string= "i"++(i+ref.value)}; }) ); inBox, RedStaticText ...
-
... .makeGui(bounds) } init { |inSession| session = inSession; sessionController = SimpleController(session); sessionController.put(\objectsChanged,{ { this.makeSessionView }.defer(0.05); }); sessionController.put(\name,{ window.name = this.wi ...
-
... ec; ctrl.remove; kkey = unit.get( \key ); spec = unit.getSpec( \value ); ctrl = SimpleController( currentEnvironment ) .put( kkey, { spec = unit.getSpec( \value ); val = currentEnvironment[ kkey ] ? (spec.default); fromSpec = currentEnviron ...
-
... ill update the state of another object in a model-view-controller paradigm (see SimpleController ). Currently implemented messages are \indexPlaying and \amp . See Model-view-controller examples . Class Methods . buildFromFile Arguments: pr ...
-
... ake { | con | con.useMIDI; con.nodeProxy_(np); con[\np] = np; con[\npControl] = SimpleController(np).put(\set, { | obj, cmd, kV | var topW, cv; cv = con[kV[0] ]; if (cv.isNil) { kV = con.addCVs(kV); topW = Document.current; con.gui.resize; ...
-
... ot ) { controllerClass = OneShotController; // from wslib } { controllerClass = SimpleController; // from main }; if( replace ) { controller = this.dependants.detect({ |item| item.class == controllerClass }) ?? { controllerClass.new( this ) ...
-
... tNil ) { currentScoreEditorController.remove; }; currentScoreEditorController = SimpleController( scoreEditorsList.last ); currentScoreEditorController.put(\preparingToChangeScore, { this.baseEditor.storeUndoState; }); }; if( scoreControlle ...
-
... beats - follower.beats > 10, "Follower clock is initially out of sync"); resp = SimpleController(follower).put(\ddwFollowClockSynced, { cond.unhang }) .put(\stop, { resp.remove }); // prepare for cleanup at end cond.hang; // now we should b ...