-
experiments in detecting fast onsets with Amplitude UGens by julianrohrhuber (julian.rohrhuber) Code
... te), 0.001); // create a trigger signal [sig, amp, trig] }.plot(0.1, bounds:Rect(0, 0, 800, 800), maxval:1.1) ) // attackTime:0, releaseTime:0.0002 // follows well ( { var sig, amp, gate, trig; sig = LFSaw.ar(-200) * SinOsc.k ...
-
... ist_tracker_text, duo_tracker_text; var win = Window.new( "Tracker Example", Rect( 100, 100, 500, 300 ) ); // Obviously, the purpose of these trackers is to be displayed somewhere. t = TempoClock.new(); // Let's define a TempoClock to ...
-
... ; var draw, lastPos, lastVal, update; w = Window("Waveform editor", Rect(100, 100, 800, 330)); wave = Signal.sineFill(size, [1]); waveBuf = Buffer.alloc(s, size * 2); ~waveBuf = waveBuf; testSynth = nil; ...
-
... iteColor.blue - myFavoriteColor.blue * timers[index]), ) ); Pen.fillRect( Rect( 0, view.bounds.height - barSize, view.bounds.width, barSize ) ); if(timers[index] > 0) { timers[index] = timers[index] ...
-
... ave fun making noise. ( var win = Window.new( "MiniXul - Dirty Sound Maker", Rect( 0, 0, 1200, 800 ) ); var draw_h_slider; var margin = 10; var lfo_value = 0; var lfo_rate_value = 1.explin( 0.03125, 32, 0, 1 ); var reverb_valu ...
-
Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code
... ).asInteger, width = (screen.width - 120).asInteger, win = Window(\aliasing, Rect.aboutPoint(screen.center, width / 2, height / 2 + 60)).background_(Color.white), sinPts = 400, sampPts = 20, sr, freq = 1, fsl, sinColor = Color.red, ...
-
... nspose = 0; ) ( var n = 7*2; var w = 1024, h = 600; var win = Window("", Rect(100, 100, w, h)).front; var uv = UserView(win, win.view.bounds); var sinFunc = { |i, periode=2pi| sin((i/n)*periode) }; var lastValues = { 0 }.dup(n); ...
-
... Osc.ar(b.bufnum, rate, 0, 0.2) }.play; harmonics=10; w = Window("uiosc", Rect(200, 450, 20*harmonics+50, 150)); ms = MultiSliderView(w, Rect(0, 0, 20*harmonics, 100)); ms.value_(Array.fill(harmonics,0.0)); ms.isFilled_(true); ...
-
... .asInteger, width = (screen.width * 0.8).asInteger, win = Window(\aliasing, Rect.aboutPoint(screen.center, width / 2, height / 2 + 20)), sinPts = 400, sampPts = 20, freq = 1, fsl, sinColor = Color.red, sampColor = Color.black; ...
-
... .play; win = Window( name: "Subtractive Synthesis - Patch 1", bounds: Rect(300, 100, 600, 560)); win.background = Color.black; // Slider controlX = ControlSpec( minval: 100, maxval: 10000, warp: \exp, step: 0.1 ...