Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / HelpSource / Classes / PV_PhaseShift270.schelp
blobbd92f75cf2ad55557ab5c3f9ce58ce297ee5fd28
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
4 categories:: UGens>FFT
6 Description::
8 Shift phase of all bins by 270 degrees.
11 classmethods::
13 method::new
15 argument::buffer
17 FFT buffer.
20 Examples::
22 code::
24 Server.internal.boot;
27 {  arg out=0;
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)]);
34 }.scope