-
... 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 ...
-
... 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 ...
-
... es { ^6 } removeCtrl { ctrl.remove; ctrl = nil; } addCtrl { ctrl.remove; ctrl = SimpleController( eqSetting ) .put( \setting, { this.refresh }); } refresh { if( plotView.isClosed.not ) { { plotView.refresh }.defer; }; } selected_ { |index| ...
-
... es { ^6 } removeCtrl { ctrl.remove; ctrl = nil; } addCtrl { ctrl.remove; ctrl = SimpleController( eqSetting ) .put( \setting, { this.refresh }); } refresh { if( plotView.isClosed.not ) { { plotView.refresh }.defer; }; } selected_ { |index| ...
-
... this.prPatternsToValues( unit ); }); UChain.nowPreparingChain = was; }; ctrl = SimpleController( next ) .put( \end, { if( next.isKindOf( UPattern ) or: { next.units.every({ |unit| unit.synths.size == 0 }) } ) { events[ note ].remove( next ...
-
... ray and creates the needed synchronization logic (see below). implementation: A SimpleController dependant on the ControlValue relays changes to the NC, CB, or NP. OSCresponders are used to remove the SimpleController when the NC, CB or NP ...
-
... elected = self.selected.remove(index); }; ~task = Task({ 1.yield }); ~watcher = SimpleController(self.task); ~taskRunning = false; ~makeTask = { |self| var task = Task({ while { self.selected.size > 1 } { var array = self.selected.copy; sel ...