-
... mix= Ref(0); cvs.amp= Ref(1); cvs.lag= Ref(argLag); controllers= List.newFrom([ SimpleController(cvs.inA).put(\value, {|ref| synth.set(\inA, ref.value)}), SimpleController(cvs.inB).put(\value, {|ref| synth.set(\inB, ref.value)}), SimpleCont ...
-
... s.asKeyValuePairs, group, \addToTail); server.sync; controllers= List.newFrom([ SimpleController(cvs.out).put(\value, {|ref| synth.set(\out, ref.value); synthEq.set(\out, ref.value); inserts.do{|x| x.out= ref.value}; }), SimpleController(cv ...
-
... nA; inA.action_({|view| redMix.inA= view.value.round.max(0)}); controllers.add( SimpleController(redMix.cvs.inA).put(\value, {|ref| inA.value= ref.value}) ); inB.value= redMix.inB; inB.action_({|view| redMix.inB= view.value.round.max(0)}); ...
-
... : Ref(argIn), out: Ref(argOut), lag: Ref(argLag) ); controllers= List.newFrom([ SimpleController(cvs.in).put(\value, {|ref| synth.set(\in, ref.value)}), SimpleController(cvs.out).put(\value, {|ref| synth.set(\out, ref.value)}), SimpleContro ...
-
... t.wfsPath.deepCopy ) } { WFSPathGUI( object: ev.object.deepCopy ) }; }); ctrl = SimpleController( pathView.xyView ) .put( \select, { editView.selected = pathView.selected }) .put( \mouse_hit, { editView.apply( true ) }) .put( \edited, { |ob ...
-
... fsPath.deepCopy ) } { WFSPathEditor( object: ev.object.deepCopy ) }; }); ctrl = SimpleController( pathView.xyView ) .put( \select, { editView.selected = pathView.selected }) .put( \mouse_hit, { editView.apply( true ) }) .put( \edited, { |ob ...
-
... tions // controlled by a single MPadView // and connected back from element via SimpleController ( w = Window("test", Rect(10, 100, 150, 600)).front; m = List[]; g = List[]; MPadView.modeKeys.keep(5).do { |mode, i| var elemDesc, desc, mktl, ...
-
// wslib 2009 OneShotController : SimpleController { update { arg theChanger, what ... moreArgs; var action; if( actions.notNil ) { action = actions.at(what); if (action.notNil, { action.valueArray(theChanger, what, moreArgs); actions.remov ...
-
... olor(0.2,0.2,0.2,1)] ]) .action_({ | view | playButton.valueAction_(0)}); ctl = SimpleController(player).put(\synch, { |m,c,v| defer { playButton.value = v } }); }; ~simplePlayerGUI = { | win, name, player, rect| var bounds, stringWidth; va ...
-
... . This way dependants (such as GUI objects or server value) can be updated with SimpleControllers. The method aCV-action_(function) creates such a connection. A CV's value can be read with the 'value' message. CV can also be used as a Patte ...