QcPenPrinter: no need to allocate QPrintDialog on heap
[supercollider.git] / HelpSource / Classes / PV_PhaseShift.schelp
blob2965f564d6338b46a66fa5b206bf3654051e1535
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 degrees.
25 Examples::
27 code::
29 s.boot;
32 SynthDef("help-phaseShift", { arg out=0;
33         var in, chain;
34         in = SinOsc.ar(500);
35         chain = FFT(LocalBuf(2048), in);
36         chain = PV_PhaseShift(chain, LFNoise2.kr(1, 180, 180));
37         Out.ar(out, 0.1 * IFFT(chain).dup);
38 }).play(s);