-
... he name by which each control will be accessed, and gives its default value and ControlSpec, e.g. (name: spec, name1: spec1) where spec may be any of the following: number -- The control's default value. The default ControlSpec (0..1, linea ...
-
... he name by which each control will be accessed, and gives its default value and ControlSpec, e.g. (name: spec, name1: spec1) where spec may be any of the following: number -- The control's default value. The default ControlSpec (0..1, linea ...
-
+ControlSpec { // a hasZeroCrossing variant that also detects if minval or maxval is 0 safeHasZeroCrossing { var thisMinSign, thisMaxSign; #thisMinSign, thisMaxSign = [minval, maxval].collect{ |val| if(val.isArray) { val.sign.mean } { val.s ...
-
... .setSpec( \type, ListSpec( [ \bspline, \cubic, \linear ] ) ) .setSpec( \curve, ControlSpec( 0, 2, \lin, 0.1, 1 ) ) .setSpec( \clipMode, ListSpec( [ \clip, \wrap, \fold ] ) ) .useSelection_( false );
-
... ").front; w.addFlowLayout; e = EZSlider(w, 300@20, \freq, \freq); AutoRand(e, e.controlSpec, 0.2).makeButton(w, Rect(0,0,20,20)); f = EZSlider(w, 300@20, \freq, \freq); a = AutoMod(f, { |amod, val| (val * rrand(0.9, 1.1)).postln; }, 0.2).ma ...
-
... spline dimension: 0: x is input, y is output 1: y is input, x is output inSpec: ControlSpec of the input range outSpec: ControlSpec of the output range ( b = BSpline([ [ 0.0, 0.0 ], [ 0.28177966101695, 0.27 ], [ 0.77118644067797, 0.932 ], [ ...
-
... ld have levels between 0 and 1, which will be mapped with according to the \amp ControlSpec. -- this is an Udef definition file part of the Unit lib default Udefs set */ Udef( \envelope_amp, { var in; in = UIn.ar(0); in = in * UEnvGen.ar( \ ...
-
... ent= SGUIelement(); var ampRandRateElement= SGUIelement(); var ampRandRateSpec= ControlSpec(0.05, 5, 'lin', 0, 1); var ampRampFreqElement= SGUIelement(); var ampRampFreqSpec= ControlSpec(-1, 1, 'lin', 0, -0.01); var ampRampRateElement= SGUI ...
-
... -- possible mapping points (*parameters*) - ```m.gens[\name].getSpec``` -- all ControlSpecs - ```m.gens[\name].getSpec(<controlKey>)``` -- ```ControlSpec``` for a controlKey + set e.g. via ```m.gens[\name].addSpec(\blink, [1, 10, \exp]);`` ...
-
... ent= SGUIelement(); var ampRandRateElement= SGUIelement(); var ampRandRateSpec= ControlSpec(0.05, 5, 'lin', 0, 2); var ampRampFreqElement= SGUIelement(); var ampRampFreqSpec= ControlSpec(-1, 1, 'lin', 0, -0.01); var ampRampRateElement= SGUI ...