-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 . ...
-
... ✔ A more complex example, with 3 controls : amplitude, frequency and panning. A slider also allows to modify widgets timeScales: ( s.waitForBoot({ var win = Window.new( "", Rect(0, 400, 800, 600) ); var button = GMButton(); var zoomSlider = ...
-
... = HLayout(*~dirt.orbits.collect { |x| var val = spec.unmap(x.get(\amp).ampdb); Slider().value_(val).action_({ |v| x.set(\amp, spec.map(v.value).dbamp.postln) }) }); ) ⧉ ✔ . doNotReadYet If set to true , any sound files are not read but onl ...