clean up indentation and spacing
[supercollider.git] / HelpSource / Classes / Hilbert.schelp
blob67bef88a8545f71e00d1de2dd39a0d2cb69a7783
1 class:: Hilbert
2 summary:: Applies the Hilbert transform to an input signal.
3 related:: Classes/HilbertFIR, Classes/FreqShift
4 categories::  UGens>Filters>Nonlinear
7 Description::
9 Returns two channels with the original signal and a copy of that signal that has been shifted in phase by 90 degrees (0.5 pi radians). Hilbert outputs two channels containing the input signal and the transformed signal. Due to the method used, distortion occurs in the upper octave of the frequency spectrum (See HilbertFIR for an FFT implementation that avoids this, but introduces a signigicant delay).
12 classmethods::
14 method::ar
16 argument::in
18 The input signal to transform.
21 argument::mul
23 Output will be multiplied by this value.
26 argument::add
28 This value will be added to the output.
31 Examples::
33 code::
34 s = Server.internal.boot;
35 s.scope;
36 a = {Hilbert.ar(SinOsc.ar(100))}.play(s);
37 a.release;