-
... */ \SampleFrames -> 5, /* one sample frame equals (1.0/sampleRate) seconds */ \Phase -> 6, /* -180 to 180 degrees */ \Rate -> 7, /* rate multiplier, for playback speed, etc. (e.g. 2.0 ->-> twice as fast) */ \Hertz -> 8, /* absolute frequen ...
-
... cks = ticks + diff; // just shift the ticks! } *nextTimeOnGrid { arg quant = 1, phase = 0; var offset; if (quant < 0) { quant = beatsPerBar * quant.neg }; offset = baseBarBeat + phase; ^roundUp(this.beats - offset, quant) + offset; } *timeT ...
-
... ariation: vRateVar, depthVariation: vDepthVar ); pwm = SinOsc.kr(freq: pwmRate, phase: Rand(0.0, 1.0)).range(pwmMin, pwmMax); pwm = pwm * LFNoise2.kr(pwmVarRate).range(0.2, 0.8); snd = VarSaw.ar( freq: Lag.kr(freq) * LFPulse.ar(freq * 1.5). ...
-
... iangle oscillator with variable duty. Class Methods VarSaw. ar ( freq: 440.0 , iphase: 0.0 , width: 0.5 , mul: 1.0 , add: 0.0 ) VarSaw. kr ( freq: 440.0 , iphase: 0.0 , width: 0.5 , mul: 1.0 , add: 0.0 ) Arguments: freq Frequency in Hertz. ...
-
... e effected sound and compare variants so that you can hear // the effect of the phase comb: ( { z = WhiteNoise .ar(0.2); z + AllpassN .ar(z, 0.01, XLine .kr(0.0001, 0.01, 20), 0.2) }.play) ( { z = WhiteNoise .ar(0.2); z + AllpassL .ar(z, 0. ...
-
... e effected sound and compare variants so that you can hear // the effect of the phase comb: ( { z = WhiteNoise .ar(0.2); z + AllpassN .ar(z, 0.01, XLine .kr(0.0001, 0.01, 20), 0.2) }.play) ( { z = WhiteNoise .ar(0.2); z + AllpassL .ar(z, 0. ...
-
... e effected sound and compare variants so that you can hear // the effect of the phase comb: ( { z = WhiteNoise .ar(0.2); z + AllpassN .ar(z, 0.01, XLine .kr(0.0001, 0.01, 20), 0.2) }.play) ( { z = WhiteNoise .ar(0.2); z + AllpassL .ar(z, 0. ...
-
... e response over 1024 samples, then the fft gives approximate frequency gain and phase response ( var size = 1024, real, imag, cosTable, complex; var a, b; var lastn, lastindex, num; var y, max; a = [0.02, 0.05, 0, 0, 0.01]; // feedback coef ...
-
... Sound-Partial -> Dorota track-points Array // Format pro Punkt: [t, f, normAmp, phase] buildTrackPoints = { |atsSound, partialIdx, numFrames, maxMag| var pts = Array.new(numFrames); numFrames.do { |fr| var t = fr / (numFrames - 1).max(1); v ...
-
... * filterHarmonic, mul: envOscs * 1.5); oscs = oscs + SinOsc.ar(freq: envSweep, phase: pi/4, mul: envOscs); // N O I S E noise = WhiteNoise.ar(1/3); noise = HPF.ar(in: noise, freq: noiseBottom); noise = noise + BPF.ar(in: noise, freq: noise ...