-
... d = Color.blue; [\compositeView,\hLayoutView,\vLayoutView,\slider,\rangeSlider,\slider2D,\tabletSlider2D, \button,\popUpMenu,\staticText,\listView,\dragSource,\dragSink,\dragBoth,\numberBox,\textField,\userView, \multiSliderView,\envelopeVi ...
-
... obalAction_({ |pop| xyMapDict.put(\y, object.inNames[pop.value]) }); xySlider = Slider2D(rightButtonV, Rect(0, 0, rightWid, rightWid)) .x_(0.5).y_(0.5) .background_( Color.new255(200, 100, 0) ) .action_({|sl| this.slAction(sl); }); xySlider ...
-
... obalAction_({ |pop| xyMapDict.put(\y, object.inNames[pop.value]) }); xySlider = Slider2D(rightButtonV, Rect(0, 0, rightWid, rightWid)) .x_(0.5).y_(0.5) .background_( Color.new255(200, 100, 0) ) .action_({|sl| this.slAction(sl); }); xySlider ...
-
... page 3 - /////// xy collective not working yet ... /////// and xy should have a Slider2D as GUI ... ( key: \xy, shared: (elementType: 'accelAxis', ioType: \collectiveIn, \spec: 'accx'), elements: [ (key: \x, style: (row: 0, column: 8, width ...
-
... ex] = val * 2 - 1; module.theta.postln; }; w.layout = h; w.front; h.add( twod = Slider2D().action_({ |v| xsl.do { |i| update.(i, v.x) }; ysl.do { |i| update.(i, v.y) }; }); ); sliders = module.theta.collect { |x, i| var sl = Slider(); sl.ac ...
-
... // use the same CtLoop with a 2D controller: ( w = Window("play me").front; t = Slider2D(w, Rect(0,0,400,400)) .action_({ |sl| var x, y; x = sl.x; y = sl.y; c.recordEvent(\x, x); c.recordEvent(\y, y); Ndef(\test).set( \pFreq, \pFreq.asSpec. ...
-
... val.value ] ) }).value_(anOssiaParameter.value[1]); }.defer; widget = widget ++ Slider2D( parent: win, bounds: (width - 6)@(width - 6) ).x_(specs[0].unmap(anOssiaParameter.value[0])) // initial location of x .y_(specs[1].unmap(anOssiaParame ...
-
... .string_(("%/%%".format("azi".asSymbol, "ele".asSymbol, i).asSymbol)); orient = Slider2D.new(container, Rect(0, 0, 100, 100)); orient.action_({|sl| ~satie.groupInstances[\default][nodeName.asSymbol].set(\aziDeg, aziSpec.map(sl.x), \eleDeg, ...
-
... 2, Rect(200, 0, 160, 20)) .align_(\center).string_("Change inputs:"); q.sl2d1 = Slider2D(q.comp2, Rect(200, 30, 170, 170)).x_(0.5).y_(0.5) .background_( Color.new255(200, 100, 0) ) .action_({|sl| // recording into KtlLoop here k.recordEvent ...
-
... lors = Array.fill(model.numChannels,model.spec.color); layout.startRow; d = GUI.slider2D.new(layout, size@30) .action_({|sl| var y; v.zoomToFrac(y = sl.y * 0.9 + 0.1); v.scrollTo(sl.x); //d.thumbSize = size * y; }); layout.startRow; CXLabel ...