DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::detail::OnsetPeakPicker< T > Class Template Referencefinal

Allocation-free symmetric novelty peak picker with an explicit frame clock. More...

#include <OnsetFeatures.h>

Classes

struct  Windows
 

Public Member Functions

template<typename Value >
bool accept (std::size_t index, std::size_t count, Value value, Windows windows, T delta)
 Examines increasing indices in an immutable, finite novelty sequence. The accessor returns T. Summation order and equal-maximum handling match the original offline OnsetDetector picker. No source timing is inferred.
 

Detailed Description

template<FloatType T>
class dspark::detail::OnsetPeakPicker< T >

Allocation-free symmetric novelty peak picker with an explicit frame clock.

Definition at line 34 of file OnsetFeatures.h.

Member Function Documentation

◆ accept()

template<FloatType T>
template<typename Value >
bool dspark::detail::OnsetPeakPicker< T >::accept ( std::size_t  index,
std::size_t  count,
Value  value,
Windows  windows,
T  delta 
)
inline

Examines increasing indices in an immutable, finite novelty sequence. The accessor returns T. Summation order and equal-maximum handling match the original offline OnsetDetector picker. No source timing is inferred.

Definition at line 50 of file OnsetFeatures.h.


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