HART  0.2.0
High level Audio Regression and Testing
Loading...
Searching...
No Matches
hart_spectral_flatness.hpp File Reference
#include <cmath>
#include "hart_accurate_sum.hpp"
#include "hart_exceptions.hpp"
#include "metrics/hart_metric_query.hpp"
#include "metrics/hart_metrics_common.hpp"
#include "hart_slice.hpp"
#include "hart_spectrum.hpp"
#include "hart_units.hpp"
#include "hart_utils.hpp"
Include dependency graph for hart_spectral_flatness.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  hart
 

Functions

MetricQuery< double > spectralFlatness (const Spectrum &spectrum, double floorLinear=1e-16)
 Calculates spectral flatness, also known as Wiener entropy, or tonality coefficient.