DSPark 1.9.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)
 Picked function at the peak, as getOnsetStrength() reports it.
 

Detailed Description

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

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

Definition at line 751 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 753 of file OnsetDetector.h.

◆ strength

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

Picked function at the peak, as getOnsetStrength() reports it.

Definition at line 754 of file OnsetDetector.h.


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