eDSP
0.0.1
A cross-platform DSP library written in C++.
|
This class estimates the Equivalent Continuous Sound Level over consecutive frames. More...
#include <leq.hpp>
Public Types | |
using | size_type = std::size_t |
using | value_type = T |
Public Member Functions | |
leq (size_type number_frames) | |
Creates a leq estimator. More... | |
~leq ()=default | |
Default destructor. More... | |
template<typename ForwardIt > | |
value_type | extract (ForwardIt first, ForwardIt last) |
This class estimates the Equivalent Continuous Sound Level over consecutive frames.
Leq is the preferred method to describe sound levels that vary over time, resulting in a single decibel value which takes into account the total sound energy over the period of time of interest
using edsp::feature::temporal::leq< T >::size_type = std::size_t |
using edsp::feature::temporal::leq< T >::value_type = T |
|
inlineexplicit |
Creates a leq estimator.
number_frames | Number of frames over time of interest to compute the equivalent sound level. |
|
default |
Default destructor.
|
inline |
Estimates the equivalent sound level over time of the frame represented by the elements in the range [first, last).
first | Forward iterator defining the begin of the range to examine. |
last | Forward iterator defining the end of the range to examine. |