Skip to content

Function upsample2

function upsample2(E1 &&) dsp

template <typename E1>
KFR_FUNCTION internal::expression_upsample<2, E1> upsample2(E1&& e1)

Upsamples a signal by a factor of 2 by inserting zero samples.

Warning

This function does NOT apply any interpolation filter. It inserts a zero sample between each pair of consecutive input samples. Use this only when no filtering is desired; otherwise prefer a proper samplerate_converter with an interpolation factor of 2.

Template parameters
E1 The input expression type.
Parameters
e1 The input expression.
Returns
An expression producing the upsampled signal.

Fully qualified name: kfr::upsample2(E1 &&)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.