MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ SpectralMethod

enum class MayaFlux::Yantra::SpectralMethod : uint8_t
strong

The per-window value a SpectralAnalyzer reports as its output data.

Enumerator
TOTAL_POWER 

Sum of the power spectrum over the bins 0 to window_size / 2.

CENTROID 

Power weighted mean bin index, zero for a silent window.

FLUX 

Sum over bands of the rise in band energy since the previous window, zero for the first.

Definition at line 30 of file SpectralAnalyzer.hpp.

30 : uint8_t {
31 TOTAL_POWER, ///< Sum of the power spectrum over the bins 0 to window_size / 2
32 CENTROID, ///< Power weighted mean bin index, zero for a silent window
33 FLUX ///< Sum over bands of the rise in band energy since the previous window, zero for the first
34};
@ CENTROID
Power weighted mean bin index, zero for a silent window.
@ TOTAL_POWER
Sum of the power spectrum over the bins 0 to window_size / 2.
@ FLUX
Sum over bands of the rise in band energy since the previous window, zero for the first.