-
... ; var next = data[idx + 1]; var prevTime = prev[1]; var nextTime = next[1]; var phase = (julianDate - prevTime) / (nextTime - prevTime); prev = prev[2..]; next = next[2..]; // julianDate.postln; ^prev + ((next-prev)* phase); } }
-
... rve, -1 * curve]).kr(doneAction: 2); //Input wave - To use SinOsc.ar, replace "iphase: 2" with "phase: 3pi/2" in = LFPar.ar(freq: freq * 2, iphase: 2); //Mirroring the wave around the x-axis ina = in.range(0, 1); inb = ina * -1; //Two squar ...
-
... Dur { ^1/tempo; } beats { ^scheduler.seconds; } nextTimeOnGrid { arg quant = 1, phase = 0; if (quant == 0) { ^this.beats + phase }; if (quant < 0) { quant = beatsPerBar * quant.neg }; if (phase < 0) { phase = phase % quant }; ^roundUp(this. ...
-
>> blk 1 sinekey == radpost == Ndef('block1', {arg key=0 , oct=1 , phase=0 , mul=0.4 , lag = 0.01 => [0,0.1]; var chord; chord = Select.kr(key, [ ([60, 64, 67]+0).midicps*oct, ([60, 64, 67]+1).midicps*oct, ([60, 64, 67]+2).midicps*oct, ([60 ...
-
... of dense harmonic content simply by feeding a sine wave's output back into its phase input. It's almost exactly what SinOscFB does, only with a user-controlled delay time between when the output of the sine wave is measured and when that g ...
-
... efore repeat 2pi/p*(width/n)+spook; }.dup(nWaves); //--world w= RedWindow("wave phase test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.4]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.8); //dim,grav,maxvel,dam ...
-
... o JITLib style by HH, ca. 2015, turned quad/MC 2019 Ron's original comments: DT phase shift/feedback network simulation phase shifters and "formant shifting" (ring modulation of hipass and lopass filter outputs) A little noise is used to ac ...
-
... o JITLib style by HH, ca. 2015, turned quad/MC 2019 Ron's original comments: DT phase shift/feedback network simulation phase shifters and "formant shifting" (ring modulation of hipass and lopass filter outputs) A little noise is used to ac ...
-
... t of compute-residual from residual.lisp (ATS by Juan Pampin). // // Uses cubic phase interpolation (McAulay/Quatieri, after JOS/XJS PARSHL) so the // synthesized partials match the original's phase, allowing clean subtraction. // What rema ...
-
... me // ignoring any time reversals // doesnt sound as expected ar { arg freq=440,phase=0,divisions=1024,rate=\ar; // plays in cycles (full spline) per second var b,index,totalTime=0,levels; totalTime = this.duration; b = this.asLocalBuf; ind ...