-
... 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, ...
-
... te a curve value for a specific center point // to be used as curve value for a ControlSpec or lincurve calcCurve { |min = 0, max = 1| ^(this.linlin(min,max,0,1).max(1e-154).reciprocal-1).squared.log; } }
-
... te a curve value for a specific center point // to be used as curve value for a ControlSpec or lincurve calcCurve { |min = 0, max = 1| ^(this.linlin(min,max,0,1).max(1e-154).reciprocal-1).squared.log; } }
-
... 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 ...
-
... 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 ...