-
... = 0.9; FreqScope.new; win.front; // Carrier Frequency Knob carrSpec = ControlSpec(20, 20000, 'exp', 0, 440, " Hz"); carrFreqKnob = Knob.new(win, Rect(20, 20, 200, 200)) .action = {arg v; var freq = carrSpec.map(v.value); ...
-
... 300,1000,600)); slid=Slider(w,Rect(10,10,400,40)); slid.value_(0.2); ~enac = ControlSpec(0,1,default:0.2); slid2=Slider(w,Rect(10,60,400,40)); slid5=Slider(w,Rect(10,110,400,40)); ~hc = ControlSpec(1,20, step:1); h=slid6=Slider(w,Rec ...
-
... t(0, 0, 200, 200), scroll: true); w.front; knob = EZKnob(w, 112@70, 'freq', ControlSpec(20, 20000, step: 1, default: 20, units: 'hz'), { arg knob; ~a.set(\freq, knob.value); active = false; }, margin: 39@0); MIDIFunc.cc({ arg val, ...
-
Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code
... ( win, Rect(5, height + 10, width-10, 20), "freq of input wave (red):", ControlSpec(1, 40, 'lin', 0, 20), {|slider| freq = slider.value; win.refresh }, 1, labelWidth: 200, initAction: true ); sr = EZSlider( win, Rect ...
-
... (i+1).do{|j| var ez; ez = EZKnob(q.win, Rect(25, 25, 25, 50), controlSpec: specs[\modIndex], initAction: true ) .action_{|knob| // state[i][j] = specs[key].map(knob.value); modIndex[i][j] = knob.value; ...
-
... use") { w.close } }; w = Window.new("The Muse", Rect(200,200,800,710)); c = ControlSpec.new(0, 39, step: 1); t = TempoClock.new; EZSlider.new(w, Rect(0,0,800,75), "Interval A", c, { |ez| interval[0] = ez.value}, initAction:true); ...
-
... creating-soundscapes-with-live-coding-techniques ( Ndef(\eHum).addSpec(\fFreq, ControlSpec(25, 1000, \lin, step: 25)); Ndef(\eHum).addSpec(\fRq, [0.01, 0.2]); Ndef(\eHum).addSpec(\fFreqIdx, [0, 8, \lin, 0.2]); Ndef(\eHum).fadeTime = 2; ...
-
... lider( parent: win, bounds: Rect(457, 100, 35, 290), label: "freq", controlSpec: ControlSpec(90, 880, 'exp', 1), action: {arg slider; fundamentalFrequency = slider.value; if(synth.isNil.not, {synth.set(\freq, fun ...
-
... .item.asString); }); // root EZSlider(control.window, control.button.dim, controlSpec: [0,24, \linear, 1].asSpec, initVal: root, numberWidth:18, gap:0@0) .action_({ |v| root = v.value; }); // octave EZSlider(control.windo ...
-
... = EZNumber.new( parent: g, bounds: Rect(0, 0, 188, 80), label: " ", controlSpec: ControlSpec(0.0, 1.0, 'lin', 0.01), action: {arg box; updateSineView.value(box.value); distortionBus.value = box.value; }, numberW ...