|
DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
|
The minimum-phase kernel of a log magnitude, by its real cepstrum: what SpectralFilter and DetailFilter design their kernels with. More...
#include <SpectralFilter.h>
Public Member Functions | |
| void | prepare (int bins) noexcept |
| Takes the size of the design (allocates nothing). | |
| void | build (FFTReal< double > &fft, double *h, double *c, int size, const double *taper, int length) noexcept |
| The kernel, cut and tapered. | |
Static Public Attributes | |
| static constexpr double | kLeastLogGain = -13.815510557964274 |
| A log gain is taken no lower: -120 dB. | |
The minimum-phase kernel of a log magnitude, by its real cepstrum: what SpectralFilter and DetailFilter design their kernels with.
Audio thread, except prepare() (setup thread).
Definition at line 76 of file SpectralFilter.h.
|
inlinenoexcept |
The kernel, cut and tapered.
| fft | The transform of the design. |
| h | On entry the log magnitude as a real spectrum; overwritten. |
| c | The kernel in time: length samples, zeros after them. |
| size | The size of the transform. |
| taper | length weights. |
| length | The samples kept. |
Definition at line 96 of file SpectralFilter.h.
|
inlinenoexcept |
Takes the size of the design (allocates nothing).
| bins | Bins of the transform of the design. |
Definition at line 85 of file SpectralFilter.h.
|
staticconstexpr |
A log gain is taken no lower: -120 dB.
Definition at line 79 of file SpectralFilter.h.