rsc3/doc-schelp/HelpSource/Classes/PV_PhaseShift270.schelp

39 lines
570 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
class:: PV_PhaseShift270
summary:: Shift phase by 270 degrees.
related:: Classes/FFT, Classes/IFFT, Classes/PV_PhaseShift, Classes/PV_PhaseShift90, Classes/PV_Diffuser
categories:: UGens>FFT
Description::
Shift phase of all bins by 270 degrees.
classmethods::
method::new
argument::buffer
FFT buffer.
Examples::
code::
s.boot;
(
{ arg out=0;
var in, fft, fft2, shifted;
in = SinOsc.ar(500, 0, 0.1);
fft = FFT(LocalBuf(2048), in);
fft2 = FFT(LocalBuf(2048), in);
shifted = PV_PhaseShift270(fft);
Out.ar(0, [IFFT(fft2), IFFT(shifted)]);
}.scope
)
::