-
Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code
... s, 0)); Pen.lineTo(Point(xpos, height)); Pen.stroke; }); }; fsl = EZSlider( win, Rect(5, height + 10, width-10, 20), "freq of input wave (red):", ControlSpec(1, 40, 'lin', 0, 20), {|slider| freq = slider.value; win.r ...
-
... postf("\t*** Using synth: ---> %\n", menu.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; ...
-
... eviation value then is multiplied by the partial number fundamentalSlider = EZSlider( parent: win, bounds: 620 @ 40, label: "FREQ", controlSpec: ControlSpec(50, 200, \lin, 1, 110, "Hz"), action: {|ez| fundamentalBus.set(e ...
-
... ); [index, value.round(0.01)].postln}; // Volume slider volumeSlider = EZSlider( parent: win, bounds: 560 @ 60, label: "VOLUME", controlSpec: ControlSpec(1, 100, \lin, 1, 10, "%"), action: {|ez| ampBus.set(ez.value/1 ...
-
... ect(2, 2, viewWidth, 400)).front; u.background = Color.gray(0.1); indexSl = EZSlider(w, Rect(2, u.bounds.bottom + 2, viewWidth, 20), "Grain index", [0, 7, \lin, 1, 0], { |view| if(view.value != linkI) { linkI = view.value; ...
-
... / sinPts * 2pi).linlin(-1, 1, height, 0) )); }; Pen.stroke; }; fsl = EZSlider(win, Rect(5, height+10, width-10, 20), "freq:", [1, 20], { |view| freq = view.value; win.refresh }, 1, initAction: true); win.front; )
-
... , Color.grey(0.7),Color.grey, Color.white, Color.yellow); reverseSlider = EZSlider( parent: subwin, bounds: 560@30, label: "Reverse ", controlSpec: ControlSpec( minval: 0, maxval: 100, warp: 'lin', step: 1, ...
-
... z.knobView.color_([Color.gray, Color.blue, Color.green]); }; }; slider = EZSlider(q.win, Rect(0, 0, 150, knobHeight * 0.5), label: i, layout: 'horz', numberWidth: 0, labelWidth: 10, initVal: ampState[i] ) .action ...
-
... 200, 20)).string_("amps"); q.win.view.decorator.nextLine; q.numOscs.do{|i| EZSlider(q.win, Rect(0, 0, 25, 100), label: i, layout: 'vert').action_{|slider| ampState[i] = slider.value; Ndef(\fmMatrix).setn(\amps, ampState); } } ...
-
... ng = v.item.toLower; }); // Fundamental Frequency Slider freqSlider = EZSlider( parent: win, bounds: Rect(457, 100, 35, 290), label: "freq", controlSpec: ControlSpec(90, 880, 'exp', 1), action: {arg slider; fund ...