27 #ifndef EDSP_LOUDNESS_HPP 28 #define EDSP_LOUDNESS_HPP 33 namespace edsp {
namespace feature {
inline namespace perceptual {
58 template <
typename ForwardIt>
59 constexpr
auto loudness(ForwardIt first, ForwardIt last) {
61 return std::pow(e, 0.67);
66 #endif //EDSP_LOUDNESS_HPP constexpr auto loudness(ForwardIt first, ForwardIt last)
Computes the loudness of the elements in the range [first, last)
Definition: loudness.hpp:59
constexpr auto energy(ForwardIt first, ForwardIt last)
Computes the energy of the elements in the range [first, last)
Definition: energy.hpp:46
Definition: amplifier.hpp:29