-
... ]; peakButtons.do{|b| b.canFocus_(false); b.maxWidth_(bw); }; controllers.add( SimpleController(redMixerChannel.cvs.peaks).put(\value, {|ref| defer{ ref.value.do{|x, i| if(x>1 and:{peakButtons[i].value==0}, { peakButtons[i].value= 1; }, { ...
-
... Controller ... hard to explain but very useful ... part of wslib Inherits from: SimpleController OneShotController performs an action only once at a change message from its Model. It is used to create the option of actions performed at a ch ...
-
... ) }{ currentEnvironment }; task = envir.use { Task { 1e5.wait } }; controller = SimpleController(task) .put(\userPlayed, { envir.use { player = player.play(clock: clock, quant: quant.asQuant, hsPlay: hsPlay) } }) .put(\userStopped, { player ...
-
... 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 ...
-
... s { if( scoreController.notNil ) { scoreController.remove; }; scoreController = SimpleController( scoreList.last ); scoreController.put(\numEventsChanged, { this.update; }); } remove { (unitControllers++[scoreController]).do(_.remove) } upd ...
-
... orController.notNil) { scoreEditorController.remove; }; scoreEditorController = SimpleController( scoreView.currentEditor ); scoreEditorController.put(\undo, { this.resetUndoRedoButtons }); scoreEditorController.put(\redo, { this.resetUndoR ...
-
... ; paths.do(_.draw(1, pixelScale: scale)); }; }; RoundView.popSkin; controller = SimpleController( WFSPositionTracker ) .put( \active, { if( WFSPositionTracker.active == true ) { startButton.value = 1; this.startTask; } { startButton.value = ...
-
... .warning_( 0.8 ) .critical_( 1 ); */ w.view.decorator.nextLine; w.front; ctlr = SimpleController(this) .put(\serverRunning, { if(this.serverIsRunning,running,stopped) }) .put(\counts,{ infoString.string = "CPU: %/%\tSynths/Defs: %/%" .forma ...
-
... omposite = CompositeView( scrollView, bounds ); composite.addFlowLayout; ctrl = SimpleController( barMap ) .put( \events, { var currentEvent; localEvents.do({ |item, i| allViews[ i ][ \bar ].value = item[2]; allViews[ i ][ \signature ].valu ...
-
... omposite = CompositeView( scrollView, bounds ); composite.addFlowLayout; ctrl = SimpleController( barMap ) .put( \events, { var currentEvent; localEvents.do({ |item, i| allViews[ i ][ \bar ].value = item[2]; allViews[ i ][ \signature ].valu ...