Class integrated_vec¶
class integrated_vec<T> dsp¶
template <typename T>
struct integrated_vec : public univector<T> { … } Buffer of momentary mean-square energies used to compute the integrated (program) loudness per EBU R128 §3560.
Samples below -70 LUFS are discarded on push. The integrated value is computed lazily and cached: it is the mean of the energies that lie above a relative gate set 10 LU below the ungated mean.
constructor integrated_vec<T>() ¶
integrated_vec() Fully qualified name: kfr::integrated_vec<T>::integrated_vec<T>()
Declared at dsp/ebu.hpp:113
function push(T) ¶
void push(T mean_square) Append a momentary mean-square energy sample.
Samples whose loudness is below -70 LUFS (absolute gate) are rejected.
| mean_square | Momentary mean-square energy for one 400 ms window. |
Fully qualified name: kfr::integrated_vec<T>::push(T)
Declared at dsp/ebu.hpp:120
function reset() ¶
void reset() Clear the buffer and invalidate the cached result.
Fully qualified name: kfr::integrated_vec<T>::reset()
Declared at dsp/ebu.hpp:130
function get() ¶
T get() const Return the integrated loudness in LUFS, recomputing if needed.
Fully qualified name: kfr::integrated_vec<T>::get()
Declared at dsp/ebu.hpp:136
Fully qualified name: kfr::integrated_vec<T>
Declared at dsp/ebu.hpp:79