-
... tform.resourceDir +/+ "sounds/a11wlk01.wav", f, u, w, ratioSl, d, indexSl; var viewWidth = 500; var buf, synth; f = SoundFile.openRead(p); f.seek(86965); f.readData(d = Signal.newClear((f.sampleRate * 0.333).roundUp)); f.close; w ...
-
... ated issue as well. ( s.waitForBoot{ var synth, srcs, snds, path, win, bnds, view, vIn, scope, h, w, v, iW, oW, btns, f, snd, flt, fltSel, fltTxts; fltSel = Bus.control(s,1); synth = { arg which, frq, mul; var in, src, rq ...
-
... el in the right places, and always add up. BTW this example has a lot of UserView tricks. Note, for example, that to do the animation, I had to set a state variable *outside* the scope of the drawFunc, and 'refresh' the UserView to updat ...
-
... s.scope; // we have the possibility of creating subwindows /* subwin = FlowView.new( parent: win, bounds: Rect(710, 230, 185, 150), margin: 10@10, gap: 10@10; );*/ //////////////////// // window creation //// ...
-
... r window; var deviceMenu, devices, device, midiout; var tempoCtl, tempoCtlView, tempoWatcher; var clock, beatView, beatRoutine; var beatColor = Color.white; var pendingColor = Color.gray(0.5); var background = Color.gray(0.3); ...
-
... bigCosTable = Signal.fftCosTable(size * oversampling); var data; var userView, sampleView, spectrumLayouts, spectrumViews; // [DC, bin1, bin2, nyquist] // --> [DC, bin1, bin2, nyquist, 0, 0, 0, nyquist, bin2, bin1] var mirror ...
-
... lider, synth; w=Window("frequency modulation", Rect(100, 400, 400, 300)); w.view.decorator = FlowLayout(w.view.bounds); a = Synth(\modulo); carrfreqslider= EZSlider(w, 300@50, "carrfreq", ControlSpec(20, 1500, 'linear', 10, 440), ...
-
... ront; StaticText(q.win, Rect(10, 10, 200, 20)).string_("modIndex"); q.win.view.decorator.nextLine; q.numOscs.do{|i| (i+1).do{|j| var ez; ez = EZKnob(q.win, Rect(25, 25, 25, 50), controlSpec: specs[\modIndex], ini ...
-
... er, synth; w=Window("freq modulation", Rect(100, 400, 400, 300)); w.view.decorator = FlowLayout(w.view.bounds); synth={arg x=0, addz = 100, speed = 5; (60..100).do{|f| x=SinOsc.ar(f+[0,f ] * (SinOsc.kr(Line.kr(1,5, 20,don ...
-
... ing. ( ~select_sample_position = { arg path; var player; var win, sf, sfview; var post_position; var vlayout; var zoom_slider; win = Window.new("select sample position", Rect(200, 300, 740, 100)); sf = SoundFile.new; ...