hilbert2
A DFT-based implementation of a Hilbert transformer.
Syntax
Initialisation
ifftsize -- DFT analysis size
ihopsize -- analysis hopsize
Performance
asig -- input signal
ar1 -- real output of asig
ar2 -- imag output of asig
hilbert2 is a DFT-based implementation of the Hilbert Transform producing two outputs in quadrature (90 degree phase difference across the spectrum). Unlike the IIR-based hilbert opcode, hilbert2 has a linear frequency response. Given that it employs a streaming algorithm, a delay of fftsize samples will be imposed between input and output.
Example
Here is an example of the hilbert2 opcode. It uses the file hilbert2.csd.
Example of the hilbert2 opcode. | |
---|---|
See also
Specialized Filters: Other filters
Credits
Author: Victor Lazzarini
2017