-
... ; fft = this.computeFFT(frameData); peaks = peakDetector.detect(fft[\mag], fft[\phase]); // Filter by frequency range peaks = peaks.select { |p| (p[\freq] >= lowestFreq) && (p[\freq] <= highestFreq) }; // Track partials (tracker carries ful ...
-
... isp from ATS-CUDA // Each track carries its full history: [frameIdx, freq, amp, phase] /////////////////////////////////////////////////////////////////////////////// ATSPeakTracker { var <>freqDeviation; // Tolerance for frequency matching ...
-
... uch that the sine oscillators "op1", "op2", "op3", and "op4" are operators with phase modulation. "op1", "op2", and "op3" share harmonic overtones while "op4" shares the fundamental frequency. "op4" utilizes slight frequency deviation, whic ...
-
>> 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 ...
-
# PitchShiftPA *Phase-Aligned Pitch and Formant Shifter* Phase Aligned Wavepacket (Re-)Synthesis (PAWS) pseudo-UGen, allowing for manipulating pitch and formant structure of the sound independently. This allows e.g. shifting pitch while mai ...
-
PhasorTJ { classvar jitterEngines, phaseEngines; *initClass { jitterEngines = IdentityDictionary[ \step -> {|freq, selector = \ar| LFDNoise0.perform(selector, freq)}, \hold -> {|freq, selector = \ar| LFDNoise0.perform(selector, freq)}, \lin ...
-
... 1 sinekey [key, 18, oct, 0.5] == 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).midi ...
-
... 1, 0); var sig = partialCount.collect { |n| var offset = n / partialCount; var phase = (3 * pi / 2) + (2 * pi * offset); var vol = SinOsc.kr(cycle, phase).range(0, 1); var ratio = VarSaw.kr(cycle, offset, width).exprange(1/octRange, octRan ...
-
... xels before repeat 2pi/p*(width/n); }.dup(nWaves); //--world w= RedWindow("wave phase test2", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0.004]; world= RedWorld(RedVector2D[width, height], wgrav, 5 ...
-
... ex, { FFTComplexDev.kr(chain, 0) }, \rcomplex, { FFTComplexDev.kr(chain, 1) }, \phase, { FFTPhaseDev.kr(chain, 0, 0.4) }, \wphase, { FFTPhaseDev.kr(chain, 1, 0.4) }, \mkl, { FFTMKL.kr(chain, 0.01) }, // Power is default { FFTPower.kr(chain) ...