1 class:: PV_PhaseShift270
2 summary:: Shift phase by 270 degrees.
3 related:: Classes/FFT, Classes/IFFT, Classes/PV_PhaseShift, Classes/PV_PhaseShift90, Classes/PV_Diffuser
8 Shift phase of all bins by 270 degrees.
28 var in, fft, fft2, shifted;
29 in = SinOsc.ar(500, 0, 0.1);
30 fft = FFT(LocalBuf(2048), in);
31 fft2 = FFT(LocalBuf(2048), in);
32 shifted = PV_PhaseShift270(fft);
33 Out.ar(0, [IFFT(fft2), IFFT(shifted)]);