-
... .0); ms.gap_(10); slid=Slider(w,Rect(20*harmonics+10, 0, 20, 100)); cspec= ControlSpec(70,1000, 'exponential', 10, 440); slid.action_({x.set(\rate, cspec.map(slid.value)); }); slid.value_(0.3); slid.action.value; w.front; cha ...
-
... | var ez; ez = EZKnob(q.win, Rect(25, 25, colWidth, knobHeight), controlSpec: specs[\modIndex], initAction: true, initVal: modIndex[i][j] ) .action_{|knob| modIndex[i][j] = knob.value; Ndef(\fmMatrix).s ...
-
... ath sources = Dictionary.new; //create dict for sound sources rotaspeedSpec = ControlSpec(0.4, 0.01, 'exp', 0.001, 0.1); rotastepSpec = ControlSpec(0.01, 0.02, 'exp', 0.001, 0.015); randspeedSpec = ControlSpec(3.0, 0.1, 'exp', 0.1, 1.0) ...
-
... | var ez; ez = EZKnob(q.win, Rect(25, 25, colWidth, knobHeight), controlSpec: specs[\modParams], initAction: true, initVal: modParams[i][j].postln ) .action_{|knob| modParams[i][j] = knob.value; Ndef(\c ...
-
... q.clip(0, 1); d.maxSineFreq = d.maxSineFreq.max(d.maxSines); d.sineFreqSpec = ControlSpec(d.minSineFreq, d.maxSineFreq, 'lin'); d.outFreqSpec = ControlSpec(d.minPlayFreq, d.maxPlayFreq, 'exp'); d.bufLength = d.defaultBufLength; d.saveF ...
-
... .asSpec ?? \widefreq.asSpec; self.level_spec = spec; self.time_spec = ControlSpec(0.01,8,\exp,0,0.1); self.curve_spec = ControlSpec(-9,9,\lin,0,0); self; }, get_xy: { arg self; var x = List.new; var y = ...
-
... ~maxValSlider = EZSlider( w, Rect(20, 160, 612, 40), "knob max", ControlSpec.new(-90,0,\lin,0.1,0,""), { |slider| ~numberBox.valueAction_((~knob.value * slider.value.dbamp).ampdb) }, 1, false, 120, 65, 0 ...
-
... eSlider = EZSlider( parent: win, bounds: 355 @ 35, label: "VOLUME", controlSpec: ControlSpec(-40, 3, \lin, 0.01, -12, "dB"), action: {|ez| masterOut.set(\amp, ez.value.dbamp)}, unitWidth: 30) .setColors( stringColor: ...
-
... (zz.value == 0){c.stop}; }); g=EZSlider(w,Rect(10,80,390,20),"Freq",ControlSpec(20,2000,\exp,0.001,200),{|ez| ~ffreq = ez.value;ez.value.postln},numberWidth: 60); text = StaticText.new(w,Rect(100,200,200,200)).string_("ki ...
-
... ider( parent: win, bounds: Rect(830, 10, 50, 170), label: "volume", controlSpec: ControlSpec(-60, 0, \lin, 1, -40, "dB"), action: {|ez| masterOut.set(\amp, ez.value.dbamp)}, unitWidth: 30, labelWidth: 80, layout: 've ...