|
DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
|
#include <OnsetDetector.h>
Public Attributes | |
| T | value = T(0) |
| ODF value of the most recent frame. | |
| int64_t | referenceSample = 0 |
| Sample index the frame localises to. | |
| int64_t | frameIndex = 0 |
| std::array< T, kNumRegisters > | registers {} |
Definition at line 459 of file OnsetDetector.h.
| int64_t dspark::OnsetDetector< T >::OdfFrame::frameIndex = 0 |
Frames computed since the last reset.
Definition at line 463 of file OnsetDetector.h.
| int64_t dspark::OnsetDetector< T >::OdfFrame::referenceSample = 0 |
Sample index the frame localises to.
Definition at line 462 of file OnsetDetector.h.
| std::array<T, kNumRegisters> dspark::OnsetDetector< T >::OdfFrame::registers {} |
The same flux restricted to each register group (mean over the group's bands; SuperFlux only, zero for the other methods). A consumer that wants every register to count - a beat tracker, for which a kick is as much evidence as a dense hi-hat - normalises these separately instead of reading value, where the upper registers own most of the bands and so most of the mean.
Definition at line 470 of file OnsetDetector.h.
| T dspark::OnsetDetector< T >::OdfFrame::value = T(0) |
ODF value of the most recent frame.
Definition at line 461 of file OnsetDetector.h.