1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
7 <meta name=
"Generator" content=
"Cocoa HTML Writer">
8 <meta name=
"CocoaVersion" content=
"949.43">
9 <style type=
"text/css">
10 p
.p1
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
}
11 p
.p2
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; min-height: 14.0px}
12 p
.p3
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #001bb9}
13 p
.p4
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #0021e7}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
}
15 p
.p6
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; min-height: 12.0px}
16 span
.s1
{font: 18.0px Helvetica
}
17 span
.s2
{color: #000000}
18 span
.s3
{text-decoration: underline
}
19 span
.s4
{color: #001bb9}
20 span
.Apple-tab-span
{white-space:pre
}
24 <p class=
"p1"><span class=
"s1"><b>PV_PhaseShift90
<span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b></span><b>shift phase by
90 degrees
<span class=
"Apple-tab-span"> </span></b><span class=
"s1"><b><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span></b></span></p>
25 <p class=
"p2"><br></p>
26 <p class=
"p3"><span class=
"s2"><b>Inherits from:
</b><a href=
"../../Core/Object.html"><b>Object
</b></a></span><b> :
</b><a href=
"../../Core/Kernel/AbstractFunction.html"><b>AbstractFunction
</b></a><b> :
</b><a href=
"../UGen.html"><b>UGen
</b></a><b> :
</b><a href=
"../PV_ChainUGen.html"><b>PV_ChainUGen
</b></a><b> :
</b><a href=
"PV_MagSquared.html"><b>PV_MagSquared
</b></a></p>
27 <p class=
"p2"><br></p>
28 <p class=
"p1"><b>PV_PhaseShift90.new(buffer)
</b></p>
29 <p class=
"p2"><br></p>
30 <p class=
"p1">Shift phase of all bins by
90 degrees.
</p>
31 <p class=
"p1"><b>buffer
</b> - fft buffer
</p>
32 <p class=
"p2"><br></p>
33 <p class=
"p4"><span class=
"s2">See also
<a href=
"FFT Overview.html"><span class=
"s3">FFT Overview
</span></a>.
</span></p>
34 <p class=
"p2"><br></p>
35 <p class=
"p5"><span class=
"s4">Server
</span>.internal.boot;
</p>
36 <p class=
"p6"><br></p>
39 <p class=
"p5"><span class=
"Apple-tab-span"> </span><span class=
"s4">var
</span> in, fft, fft2, shifted;
</p>
40 <p class=
"p5"><span class=
"Apple-tab-span"> </span>in =
<span class=
"s4">SinOsc
</span>.ar(
500,
0,
0.4);
</p>
41 <p class=
"p5"><span class=
"Apple-tab-span"> </span>fft =
<span class=
"s4">FFT
</span>(
<span class=
"s4">LocalBuf
</span>(
2048), in);
</p>
42 <p class=
"p5"><span class=
"Apple-tab-span"> </span>fft2 =
<span class=
"s4">FFT
</span>(
<span class=
"s4">LocalBuf
</span>(
2048), in);
</p>
43 <p class=
"p5"><span class=
"Apple-tab-span"> </span>shifted =
<span class=
"s4">PV_PhaseShift90
</span>(fft);
<span class=
"Apple-converted-space"> </span></p>
44 <p class=
"p5"><span class=
"Apple-tab-span"> </span>[
<span class=
"s4">IFFT
</span>(fft2),
<span class=
"s4">IFFT
</span>(shifted)];
<span class=
"Apple-converted-space"> </span></p>
45 <p class=
"p5">}.scope;
</p>