-
... e ( var controlWindow, w; var r, a, b, c, d, matrix = [1, 0, 0, 1, 10, 10]; var sliders, spex, name; w = Window.new.front; w.view.background_(Color.white); // create a controller-window controlWindow = Window("matrix controls", Rect(400, 20 ...
-
... FX. Arguments: name the name the gui will show numItems the number of buttons / sliders for parameters the gui will have buttonList an optional list of buttons. by default, this is the list of slotNames. parent the parent view or window on ...
-
... Y ( var controlWindow, w; var r, a, b, c, d, matrix = [1, 0, 0, 1, 10, 10]; var sliders, spex, name; w = Window .new.front; w.view.background_( Color .white); // create a controller-window controlWindow = Window ( "matrix controls" , Rect ( ...
-
... yNumFuncs].parent_(dict[\keyDownFuncs]); // simple 1, 2 or more number(s), like slider+numbox is now. uv.keyDownAction.add(\number, { |uv, key, mod| mod = mod ? 0; uv.focus(true); if (mod.isAlt) { dict[\keyDownAltFuncs][key].value; } { if ( ...
-
... ch parameter can be edited via a dedicated gui element. Where most of these are sliders, there can also be different kinds of editors, all based on the information stored in the Udef. Changes in parameters will be instantly audible if the U ...
-
... rGui Use SynthDef from above . // start with gui and define pitch sequence with sliders ( p = PLbindef(\z, \i, \saw_grain, \d, 0.2, \m, PLseq(\midi) ); VarGui([\midi, [50, 90, \lin, 1, 60] ! 7], stream: p).gui; ) ~z.m = PLseq(\midi) + [0, 5 ...
-
... *yStep, yStep*1.5, yStep)) .string_(runner.offsetWeight).align_( \right ) ; GUI.slider.new(w, Rect(yStep*4.5, index*yStep, yStep*4, yStep)) .valueAction_(0.5) .action_({ arg sl ; runner.setOffsetWeight( sl.value.round(0.001)*2-1) ; lab.stri ...
-
... by shift, scale, invert. AutoLoop - still to be done, records movements of one slider as an semi-autonomous loop. Class Methods . new make a new instance, with a key and a function to evaluate on playback. Instance Methods Instance Variabl ...
-
... w = Window (scroll: true ); // you must set this when the window is created c = Slider2D (w, Rect (0, 0, 1500, 300)); d = Slider (w, Rect (0, 310, 20, 300)); c.background = Color .grey.alpha = 0.6; d.background = Color .grey.alpha = 0.6; w. ...
-
... dow.new.front; b = [10, 80].asSpec; c = NumberBox(w, Rect(20, 20, 60, 40)); a = Slider(w, Rect(20, 80, 100, 40)) .focusColor_(Color.red(alpha: 0.2)) .action_({ c.value_(b.map(a.value).round(0.01)) // round the float so it will fit in the Nu ...