Ardour
9.0-pre0-582-g084a23a80d
|
#include <KaiserWindow.h>
Classes | |
struct | Parameters |
Public Member Functions | |
KaiserWindow (Parameters p) | |
int | getLength () const |
const double * | getWindow () const |
void | cut (double *src) const |
void | cut (const double *src, double *dst) const |
Static Public Member Functions | |
static KaiserWindow | byTransitionWidth (double attenuation, double transition) |
static KaiserWindow | byBandwidth (double attenuation, double bandwidth, double samplerate) |
static Parameters | parametersForTransitionWidth (double attenuation, double transition) |
static Parameters | parametersForBandwidth (double attenuation, double bandwidth, double samplerate) |
Private Member Functions | |
void | init () |
Private Attributes | |
int | m_length |
double | m_beta |
std::vector< double > | m_window |
Kaiser window: A windower whose bandwidth and sidelobe height (signal-noise ratio) can be specified. These parameters are traded off against the window length.
Definition at line 25 of file KaiserWindow.h.
|
inline |
Construct a Kaiser windower with the given length and beta parameter.
Definition at line 37 of file KaiserWindow.h.
|
inlinestatic |
Construct a Kaiser windower with the given attenuation in dB and transition bandwidth in Hz for the given samplerate.
Definition at line 53 of file KaiserWindow.h.
|
inlinestatic |
Construct a Kaiser windower with the given attenuation in dB and transition width in samples.
Definition at line 43 of file KaiserWindow.h.
|
inline |
Definition at line 91 of file KaiserWindow.h.
|
inline |
Definition at line 87 of file KaiserWindow.h.
|
inline |
Definition at line 79 of file KaiserWindow.h.
|
inline |
Definition at line 83 of file KaiserWindow.h.
|
private |
|
inlinestatic |
Obtain the parameters necessary for a Kaiser window of the given attenuation in dB and transition bandwidth in Hz for the given samplerate.
Definition at line 72 of file KaiserWindow.h.
|
static |
Obtain the parameters necessary for a Kaiser window of the given attenuation in dB and transition width in samples.
|
private |
Definition at line 99 of file KaiserWindow.h.
|
private |
Definition at line 98 of file KaiserWindow.h.
|
private |
Definition at line 100 of file KaiserWindow.h.