Quality knobs for the Kaiser-window prototype. More...
#include <resampler.hpp>
Public Attributes | |
| double | stopband_db = 96.0 |
| minimum stopband attenuation | |
| double | transition_fraction = 0.10 |
| transition width / min Nyquist | |
| double | cutoff_fraction = 0.90 |
| cutoff / min Nyquist | |
| std::size_t | phases = 64 |
| polyphase oversample factor L | |
Quality knobs for the Kaiser-window prototype.
Defaults are audio-grade: 96 dB stopband, transition = 10 % of the lower Nyquist, and the cutoff sits at 90 % of the lower Nyquist so the passband is flat up to ~0.45 × (min Nyquist) on either side.
| double pulp::signal::ResamplerQuality::cutoff_fraction = 0.90 |
cutoff / min Nyquist
| std::size_t pulp::signal::ResamplerQuality::phases = 64 |
polyphase oversample factor L
| double pulp::signal::ResamplerQuality::stopband_db = 96.0 |
minimum stopband attenuation
| double pulp::signal::ResamplerQuality::transition_fraction = 0.10 |
transition width / min Nyquist