DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::detail::OnsetNovelty< T >::Frame Struct Reference

#include <OnsetFeatures.h>

Public Attributes

T value = T(0)
 Requested function; SuperFlux when BothFlux is requested.
 
T spectralFlux = T(0)
 
T pick = T(0)
 
T persist = T(0)
 
T linear = T(0)
 
std::array< T, kNumRegisters > registers {}
 
bool valid = false
 

Detailed Description

template<FloatType T>
struct dspark::detail::OnsetNovelty< T >::Frame

Definition at line 232 of file OnsetFeatures.h.

Member Data Documentation

◆ linear

template<FloatType T>
T dspark::detail::OnsetNovelty< T >::Frame::linear = T(0)

Linear-magnitude spectral flux of the same spectrum, accumulated in four interleaved sums; computed for SuperFlux and BothFlux when setLinearFlux(true), zero otherwise.

Definition at line 246 of file OnsetFeatures.h.

◆ persist

template<FloatType T>
T dspark::detail::OnsetNovelty< T >::Frame::persist = T(0)

SuperFlux to the largest of the persistSpan frames that end persistLag back (prepare()); zero when no persistence lag is configured, and for the other functions.

Definition at line 242 of file OnsetFeatures.h.

◆ pick

template<FloatType T>
T dspark::detail::OnsetNovelty< T >::Frame::pick = T(0)

SuperFlux to the frame pickLag back (prepare()); equal to value at lag 1, and for the other functions.

Definition at line 238 of file OnsetFeatures.h.

◆ registers

template<FloatType T>
std::array<T, kNumRegisters> dspark::detail::OnsetNovelty< T >::Frame::registers {}

Definition at line 247 of file OnsetFeatures.h.

◆ spectralFlux

template<FloatType T>
T dspark::detail::OnsetNovelty< T >::Frame::spectralFlux = T(0)

Also returned by BothFlux, from the same spectrum.

Definition at line 235 of file OnsetFeatures.h.

◆ valid

template<FloatType T>
bool dspark::detail::OnsetNovelty< T >::Frame::valid = false

Definition at line 248 of file OnsetFeatures.h.

◆ value

template<FloatType T>
T dspark::detail::OnsetNovelty< T >::Frame::value = T(0)

Requested function; SuperFlux when BothFlux is requested.

Definition at line 234 of file OnsetFeatures.h.


The documentation for this struct was generated from the following file: