Classes for oversampling/upsampling/downsampling etc.
|
template<class Data> |
void | signalsmith::rates::fillKaiserSinc (Data &&data, int length, double passFreq, double stopFreq) |
| Fills a container with a Kaiser-windowed sinc for an FIR lowpass.
|
|
template<class Data> |
void | signalsmith::rates::fillKaiserSinc (Data &&data, int length, double centreFreq) |
| If only the centre frequency is specified, a heuristic is used to balance ripples and transition width.
|
|
◆ fillKaiserSinc() [1/2]
template<class Data>
void signalsmith::rates::fillKaiserSinc |
( |
Data && | data, |
|
|
int | length, |
|
|
double | centreFreq ) |
If only the centre frequency is specified, a heuristic is used to balance ripples and transition width.
The transition width is set to: 0.9/sqrt(length)
◆ fillKaiserSinc() [2/2]
template<class Data>
void signalsmith::rates::fillKaiserSinc |
( |
Data && | data, |
|
|
int | length, |
|
|
double | passFreq, |
|
|
double | stopFreq ) |
Fills a container with a Kaiser-windowed sinc for an FIR lowpass.
33-point results for various pass/stop frequencies