-
... o allow value to be quantized. thumbSize is used for both width and height of a slider handle, while thumbWidth or thumbHeight are typically used for only one dimension. x and y are used for mouse clicks. Take a look at a similar widget to ...
-
... ar <currNode, <currTopName, <currBranchNames; var <currShowIndex=0; var <w, <topSlider, <tunePop, <topEditor, <specEditors, <scrolly, <noteDocument; var <playKeys = "QKJHGFDSA"; *new { |laras = \pelog, instrument = \SaronA, note = \56, dept ...
-
... a CVWidgetMS values entered in this field may get treated differently as multi-slider widgets wrap multi-dimensional specs. hence, if you enter e.g. \freq as spec it will automatically expand to an adequate multi-dimensional ControlSpec . ...
-
... t to refer via a dedicated key // start with gui and define pitch sequence with sliders ( EventShortcuts .on; p = PLbindefPar ( \w , 3, \i , [ \saw_grain , \sin_grain , \noise_grain ], \d , 0.25, \n , PLseq ( \midi ), \m , [70, 75, 80] + Pk ...
-
... {this.stopBfMonitor}, {this.startBfMonitor} ]; actions[me.value].value }); GUI.slider.new(window, Rect(window.bounds.width * 0.05, window.bounds.height * 0.15, window.bounds.width * 0.65, window.bounds.height * 0.07)) .value_(dbspec.unmap( ...
-
... mbedding in another GUI ( w = Window ( "plot panel" , Rect (20, 30, 520, 250)); Slider .new(w, Rect (10, 10, 490, 20)).resize_(2).action_ { |v| a.value = (0..(v.value * 80).asInteger).scramble; w.refresh; }; z = CompositeView (w, Rect (10, ...
-
... ts. Sent at the analogue input message rate ( key: \inA, shared: (elementType: \slider, spec: \lin1, ioType: \collectiveIn), elements: (1..16).collect { |num| (key: num.asSymbol, style: (height: 2)) } ), // 16 integer arguments represent th ...
-
... s); } *window { |name, bounds, fromBounds, viewOffset| // creates a window with sliders for scale/move ^ScaledUserViewContainer( name, bounds, fromBounds, viewOffset ); } *withSliders { |window, bounds, fromBounds| ^ScaledUserViewContainer( ...
-
... .asArray[2]; screenY = GUI.window.screenBounds.asArray[3] - 44; // minus 50 for sliders at bottom xiigui = nil; point = if(setting.isNil, {Point(0, 0)}, {setting[1]}); params = if(setting.isNil, {[0,0]}, {setting[2]}); // not used for now / ...
-
... Name, ctl; #ctlName, ctl = pair; case( { ctl.isKindOf(ControlSpec) }, { this.addSliderCtl(ctlName, ctl, i) }, // a ctl of a Symbol, e.g. \A0 yields a // dropdown menu for an input soundfield { ctl.isKindOf(Symbol) }, { this.addInputMenuCtl( ...