-
... spec, rd, exp, dt) make an AutoRand ctl - the controller to randomize. e.g. an NumberBox, or EZSlider etc. spec - its controlSpec, rd - the normalized random offset (between 0 and 1) by which to mutate. exp - the exponent for the random di ...
-
... ult osc width pv.reset; }) .states_([["Reset"]]) ; // cyclic/osc motion perNb = NumberBox() .action_({ |nb| [ \rotateCycPeriod_, \tiltCycPeriod_, \tumbleCycPeriod_, \rotateOscPeriod_, \tiltOscPeriod_, \tumbleOscPeriod_ ].do({ |meth| pv.perf ...
-
... gray(0.8)); StaticText(barView, Rect(10, 10, 30, 20)).string_("Bpm:"); numBpm = NumberBox(barView, Rect(40, 10, 40, 20)).value_(120) .action_ ({|num| if(isPlaying, { seqClock.tempo = num.value/60; }); }); StaticText(barView, Rect(90, 10, 30 ...
-
... Window(); var flt= RedSmooth(0.1, 0.5); var number, slider, plot, fifo; number= NumberBox(win, Rect(10, 10, 90, 20)); number.value= flt.factor; number.decimals= 3; number.action= {|view| view.value= view.value.max(0); flt.factor= view.value ...
-
... makeCounter { var font = GUI.font.new("Helvetica", 24).boldVariant; bars = GUI.numberBox.new(mainFlow, Rect.new(0, 0, numwidth, numheight)) .font_(font) .align_(\right) .stringColor_(Color.new255(157, 63, 145)); beats = GUI.numberBox.new(m ...
-
... k; win.layout = HLayout( StaticText().font_(font).string_("Peers:"), peersBox = NumberBox().font_(boldFont).align_(\center).fixedWidth_(80), StaticText().font_(font).string_("Tempo:"), tempoBox = NumberBox().font_(boldFont).align_(\center). ...
-
... alues[cnt] = sld.value; volNums[cnt].valueAction_(sld.value); }) ); volNums.add(NumberBox(window, Rect(25+(40*cnt), 120, 40, 20)).value_(1) .action_ ({|nmb| synthInstances[cnt].set(\mul, nmb.value); volSliders[cnt].value_(nmb.value); }) ); ...
-
... "R"]]); goto = Button.new(w, Rect( 0, 0, 48, 20 )).states_([["go to"]]); line = NumberBox.new( w, Rect( 0, 0, 45, 20)).value_( 0 ); slider = Slider.new( w, Rect( 0, 0, 200, 20)); w.front; sliderSpec = [0,fp.length,\linear,1].asSpec; updFunc ...
-
... r is wrapper class which creates an (optional) StaticText , and a Slider plus a NumberBox . If the parent is nil, then EZSlider will create its own window. See EZGui more options. Scrolling and Arrow Keys EZSlider's number box scrolls by de ...
-
... makeCounter { var font = GUI.font.new("Helvetica", 24).boldVariant; bars = GUI.numberBox.new(mainFlow, Rect.new(0, 0, numwidth, numheight)) .font_(font) .align_(\right) .stringColor_(Color.new255(157, 63, 145)); beats = GUI.numberBox.new(m ...