Forgot a help fix: Drag a dock's title bar, not divider, to reposition
[supercollider.git] / HelpSource / Classes / PV_PhaseShift.schelp
blobc95fdd4ea62af73958fafabb32697b3eafbaf9b4
1 class:: PV_PhaseShift
2 summary:: Shift phase.
3 related:: Classes/FFT, Classes/IFFT, Classes/PV_PhaseShift90, Classes/PV_PhaseShift270, Classes/PV_Diffuser
4 categories:: UGens>FFT
6 Description::
8 Shift phase of all bins.
11 classmethods::
13 method::new
15 argument::buffer
17 FFT buffer.
20 argument::shift
22 Phase shift in radians.
24 argument::integrate
26 If greater than zero, integrate the phase-shift across calls (for an accumulating phase shift).
28 Examples::
30 code::
32 s.boot;
35 SynthDef("help-phaseShift", { arg out=0;
36         var in, chain;
37         in = SinOsc.ar(500);
38         chain = FFT(LocalBuf(2048), in);
39         chain = PV_PhaseShift(chain, LFNoise2.kr(1, 180, 180));
40         Out.ar(out, 0.1 * IFFT(chain).dup);
41 }).play(s);