-
... IFFT(chain, wintype: -1); }); // Reapply the grain envelope because the FFT phase randomization removes it sig = sig*PlayBuf.ar(1, envBufnum, 1/(trigPeriod), loop:1); // Delay second grain by half a grain length for superposition ...
-
... = freq/(1+spread) and hi = freq*(1+spread) (hi-lo+1).do({ |j| var mag, phase, val; var index = j.linlin(0, hi-lo, lo, hi); // only fill up lower half of spectrum: // right half later is derived from this left half to ...
-
... riation = \rateVar.kr(0.04); var depthVariation = \depthVar.kr(0.1); var iphase = 0; Vibrato.ar(K2A.ar(freq), rate:rate, depth:depth, delay:delay, onset:onset, rateVariation:rateVariation, depthVariation:depth ...
-
... var si=SinOsc; var no=LFNoise1; sig1= DynKlang.ar(`[[si.kr(freq:1.32, phase:no.kr(5,1)).range(25,330), si.kr(freq:0.23, phase:no.kr(0.1,1)).range(20,800), si.kr(freq:0.1, phase:no.kr(0.1,1)).range(33,1000)] + si.ar([2, ...
-
... SinOsc.kr(freq: 1).exprange(0.04, 1).sqrt; var oddAmpMod = SinOsc.kr(freq: 1, phase: pi).exprange(0.04, 1).sqrt; var ampEnv = Env.linen(attackTime: 0.01, sustainTime: dur, releaseTime: 0.2).kr(doneAction: 2); evenFreqs = ((1, 3 ...
-
... , freqPair[1], dur: dur); var wobble = SinOsc.kr(0.01 + 0.05.rand, mul: 10, phase: 1 - 2.rand); freq + wobble }, mul: shape * vol, bw: bw ); Out.ar(0, Mix.ar(signal) ! 2) }).store; ) ( var fr ...
-
... ms of harmonic sine waves ebb and flow, gradually drifting more and more out of phase ( //fundamental pitch triad ~notes = [45,55,60].midicps; s.waitForBoot({ Routine{ SynthDef.new(\tone, { arg freq=440, pan=0, rel=0.05; ...
-
... Gibbs effect is obvious here, too. This is good to demonstrate to students why phase vocoders should pretty much always use a windowing function (e.g. Hanning). x = Signal.fill(128, { |i| sin(i / 128 * 2pi * 1.1) }); - Try lots of in ...
-
Note: you can configure more than 4 operators by changing the value of the numops variable. ( SynthDef(\pm4, { var numops = 4; var fb = LocalIn.ar(numops); var gate = \gate.kr(1); var in_freq = \freq.ar(261).lag(\glis.kr(0)); ...
-
A little homage to "Come Out" by Steve Reich. /* A little homage to "Come Out" by Steve Reich. It explores ryhtmic aspects created by phasing, retriggering, and pitch shifting. It "detours" the original audio message available here ...