14 #ifndef KAISER_WINDOW_H 15 #define KAISER_WINDOW_H 76 (attenuation, (bandwidth * 2 * M_PI) / samplerate);
87 void cut(
double *src)
const {
91 void cut(
const double *src,
double *dst)
const {
Kaiser window: A windower whose bandwidth and sidelobe height (signal-noise ratio) can be specified...
std::vector< double > m_window
static KaiserWindow byBandwidth(double attenuation, double bandwidth, double samplerate)
Construct a Kaiser windower with the given attenuation in dB and transition bandwidth in Hz for the g...
static Parameters parametersForTransitionWidth(double attenuation, double transition)
Obtain the parameters necessary for a Kaiser window of the given attenuation in dB and transition wid...
static Parameters parametersForBandwidth(double attenuation, double bandwidth, double samplerate)
Obtain the parameters necessary for a Kaiser window of the given attenuation in dB and transition ban...
void cut(const double *src, double *dst) const
static KaiserWindow byTransitionWidth(double attenuation, double transition)
Construct a Kaiser windower with the given attenuation in dB and transition width in samples...
const double * getWindow() const
KaiserWindow(Parameters p)
Construct a Kaiser windower with the given length and beta parameter.
void cut(double *src) const