-
... nter); mainLayout.add(StaticText().string_("MIDI Ch1: "), 3, 0); mainLayout.add(NumberBox().clipLo_(0).clipHi_(127).action_({| caller | this.midiCh1(caller.value); }), 3, 1); mainLayout.add(StaticText().string_("MIDI Ch2: "), 4, 0); mainLay ...
-
//convert Euros to Pounds ( //Setup GUI var nb1 = NumberBox(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("Euro:"), nb1, StaticText().string_("Pound:"), nb2 ) ).front; ENdef(\x,{ v ...
-
NumberBox: Filter: Description Class methods Inherited class methods Undocumented class methods new qtClass Instance methods Data value valueAction increment decrement string object setBoth Restrictions on data clipLo clipHi minDecimals max ...
-
GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code
... e s.waitForBoot({ // GUI var numButtons = 4; var numSliders = 5; var numNumberBoxes = 3; var numLabels0 = 5; var numLabels1 = 3; var buttons, sliders, numberBoxes, labels0, labels1, sliderLayout, buttonLayout, numberBoxesLayout, ...
-
... for the bigStep Inherited instance methods Examples ( w=FlowView.new.flow{|w| b=NumberBox(w,40@27).value_(1); StepButton(w,27@27,target:b); w.startRow; c=EZSlider(w,300@27,"demo", [0,10,'linear',0.1]).value_(0); // gets the ControlSpec step ...
-
... Sampled({sig}, es) {sig} will delay execution of sig */ ( //Setup GUI var nb1 = NumberBox(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), nb1, StaticText().string_("Out:"), n ...
-
//simple gui example just displaying data using sliders and numberboxes ( var numChan= 4; var lastValues= -1.dup(numChan); var lastTime= 0; var win, sliders, numbers, updateFunc; win= Window("gui example simple", Rect(100, 100, 320, 240)).f ...
-
... n.value; }); StaticText(w, 30@15) .string_("size") .resize_(7) .align_(\right); NumberBox(w, 40@15) .value_(array.size) .resize_(7) .action_({|j| array = Array.fill(j.value,{|i| array[i] ? 0}); ms.value_(array); action.value; }); StaticText ...
-
... n.value; }); StaticText(w, 30@15) .string_("size") .resize_(7) .align_(\right); NumberBox(w, 40@15) .value_(array.size) .resize_(7) .action_({|j| array = Array.fill(j.value,{|i| array[i] ? 0}); ms.value_(array); action.value; }); StaticText ...
-
... GUI // and the controlled sliders in the same window. var win, button, slider, numberBox, control; // Any window will do... win = GUI.window.new("Automation Transport Interface", Rect(40, 400, 450, 130)); slider = GUI.slider.new(win, Rect( ...