Skip to content

dsp


samplerate_converter class

template <typename T> samplerate_converter

Sample Rate converter

sidelobe_attenuation function

static ftype
sidelobe_attenuation(sample_rate_conversion_quality quality)

Returns sidelobe attenuation for the given quality (in dB)

transition_width function

static ftype
transition_width(sample_rate_conversion_quality quality)

Returns transition width for the given quality (in rad)

process function

template <univector_tag Tag>
size_t process(univector<T, Tag> &output,
               univector_ref<const T> input)

Writes output.size() samples to output reading at most input.size(), then consuming zeros as input.
Returns Number of processed input samples (may be less than input.size()).


Auto-generated from sources, Revision 6aea976a464de59d522d0c629e64bf0c044e6777, https://github.com/kfrlib/kfr/blob/6aea976a464de59d522d0c629e64bf0c044e6777/include/kfr/