-
//simple gui example just displaying raw data using sliders and numberboxes ( var board= CytonSerial("/dev/tty.usbserial-DM00DRM0", initAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShie ...
-
... , 0 ); var hsv = [ 0, 1, 1 ]; var color_picker_view = UserView(); var h_slider = UserView(); var sv_slider = UserView(); var helper = UserView(); var binded_function = nil; var hsv_to_color = { | hsv | var color = C ...
-
... lassvar <>xposScreen=0, <>yposScreen=20; classvar <counter = 0; var <>dmx; var <sliderview, <cueview; var <showconsole; var <>w, <watcher; *new { |dmx, w| ^super.new.w_(w).dmx_(dmx).init; } init { var f, xsize, ysize; var ncview, rmview, cl ...
-
... ng several buttons at once How HLayout and VLayout works Back to connecting the slider Adapting the Slider to the correct value (mapping) Adding text, and specifying views ratios Conclusion Tutorials/GUI | Tutorials > GUI'>GUI GUI: Interfac ...
-
... s built by the shared code and looks as before: // a REMOVE FILTER button and a slider per argument with a spec ~radTest.("fx-window-shared-builder", setup: ["start 2", "fx t 1 pch"], code: { var win; ~radAZ.().filterGUI(\track, 1, 1); 0.5. ...
-
... margin ) ) .states_([[ label ],[ label , Color.black, Color.gray(0.33) ]]); }, 'slider': { |parent, bounds, label| MSliderView( parent, bounds.insetBy( MKtlGUI.margin ) ); }, 'knob': { |parent, bounds, label| MKnobView( parent, bounds.inset ...
-
... nklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + VarGui { midiBindVarSlider { |key, varNum, indexOffset, varSliderIndex, ccNum, chan, srcID| ^MIDIFunc.cc({ |...args| var val, num, chan, src, spec, slider; #val, num, chan, src = a ...
-
... NanoKtl , etc first example // make a new PFKtl f = JSBKtl.new; // map a single slider's action f.mapCC( \js1X , { |ccval| " JSBKtl : js1X ccval %\n" .postf(ccval) }); f.mapCC( \js1Y , { |ccval| " JSBKtl : js1Y ccval %\n" .postf(ccval) }); ...
-
... ver 4: with rec but g.makeGui.mainStage4 = { var p, w, scope, scopeV, modeBut, sliders, zoomTxt, zoomSl, clockTxt, clockBut, fontt; fontt = Font("Monaco", 66); sliders = { |i| [ // StaticText(p).string_(q.ndefs[i].key) // .maxHeight_(50).f ...
-
... ndow and SCContainerView too. ( w = SCWindow ( "test-asCode" ).front; 10.do({ SCSlider ( w, Rect .rand( 380, 380, 100, 100 ) ).value_( 1.0.rand ); }); w.view.background = Color .blue(0.8).alpha_(0.25); ) w.asCode; /* result: w = GUI.window. ...