-
... out(w.view.bounds); w.view.decorator.gap=8@2; g = EZSlider(w, 380@20, "pitch ", ControlSpec(40, 110, \lin, 1, 60)); g.action_({ |ez| ( a.set(\note, [ ez.value, 1, 0.5 ] );a.set(\t_trig, 1);)}); h = EZSlider(w, 380@20, "amp", ControlSpec(0, ...
-
... t.new( w, 150@20 ).string_( title ); min = EZNumber.new(w, 60@20, label: "min", controlSpec: [-10000,10000,\lin].asSpec, action: { this.setRange( min.value, max.value ); }, initVal: 0, labelWidth: 25, numberWidth: 30 ); max = EZNumber.new(w ...
-
... t.new( w, 150@20 ).string_( title ); min = EZNumber.new(w, 60@20, label: "min", controlSpec: [-10000,10000,\lin].asSpec, action: { this.setRange( min.value, max.value ); }, initVal: 0, labelWidth: 25, numberWidth: 30 ); max = EZNumber.new(w ...
-
... c of the vertical dimension. By default it will guess the spec. Arguments: spec ControlSpec Returns: ControlSpec . domainSpec Get or set the spec of the horizontal dimension. By default it will guess this and does a good job. Note that if t ...
-
... nitSGUIelement { value= 0; lastViewValue= 0; viewsSpecs= List.new; defaultSpec= ControlSpec(0, 1); softSetLastTime= 0; } value_ {|val| value= val; if(value!=lastValue, { lastValue= value; action.value(value); }); } valueAction_ {|val| value ...
-
... out(w.view.bounds); w.view.decorator.gap=8@2; g = EZSlider(w, 380@20, "pitch ", ControlSpec(40, 110, \lin, 1, 60)); g.action_({ |ez| ( a.set(\note, [ ez.value, 1, 0.5 ] );a.set(\t_trig, 1);)}); h = EZSlider(w, 380@20, "amp", ControlSpec(0, ...
-
... 00, 800)).front; a = ScatterView (w, Rect (10, 10, 760, 760),b.interpolate(20), ControlSpec (0.0,5.0), ControlSpec (0.0,5.0)); a.drawAxis_( true ).drawMethod_( \fillOval ) .symbolColor_( Color .blue(0.5, 0.5)).symbolSize_(5) ) bilinearInter ...
-
... amp.lag(lag); }; // make sure it plays sound ~formsing.play(vol: 0.25); // make controlspecs for its parameters: Spec .specs.put( \formfrq , ControlSpec (100, 5000, \exp )); Spec .specs.put( \root , ControlSpec (5, 500, \exp )); Spec .specs ...
-
... 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 ...