DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::OnsetDetector< T >::Onset Struct Reference

One offline onset: where it is and how strong it was. More...

#include <OnsetDetector.h>

Public Attributes

int64_t sample = 0
 Reference sample (frame centre).
 
T strength = T(0)
 ODF value at the peak, the scale getOnsetStrength() reports.
 

Detailed Description

template<FloatType T>
struct dspark::OnsetDetector< T >::Onset

One offline onset: where it is and how strong it was.

Definition at line 548 of file OnsetDetector.h.

Member Data Documentation

◆ sample

template<FloatType T>
int64_t dspark::OnsetDetector< T >::Onset::sample = 0

Reference sample (frame centre).

Definition at line 550 of file OnsetDetector.h.

◆ strength

template<FloatType T>
T dspark::OnsetDetector< T >::Onset::strength = T(0)

ODF value at the peak, the scale getOnsetStrength() reports.

Definition at line 551 of file OnsetDetector.h.


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