Skip to content

Function dB_to_amp

function dB_to_amp(const T1 &) dsp

template <numeric T1>
KFR_FUNCTION flt_type<T1> dB_to_amp(const T1& x)

Convert a level in decibels to an amplitude (10^(dB/20)).

Parameters
x Level in decibels (0 dB corresponds to amplitude 1.0).
Returns
Amplitude.

Fully qualified name: kfr::dB_to_amp(const T1 &)

Declared at dsp/units.hpp:219

Function dB_to_amp

function dB_to_amp(E1 &&) dsp

template <expression_argument E1>
KFR_FUNCTION expression_function<fn::dB_to_amp, E1> dB_to_amp(E1&& x)

Convert a decibel level expression to amplitudes (10^(dB/20)).

Parameters
x Expression yielding levels in decibels (0 dB corresponds to amplitude 1.0).
Returns
Expression yielding amplitudes.

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

Declared at dsp/units.hpp:231

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