|
DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
|
What estimate() returns. More...
#include <DownbeatEstimator.h>
Public Attributes | |
| int | beatsPerBar = 0 |
| Beats in a bar: the caller's, or 3 or 4 as estimated. 0: nothing was read. | |
| int | firstDownbeat = -1 |
| Index, into the beats given, of the first one that opens a bar. -1: nothing was read. | |
| T | confidence = T(0) |
| How far the chosen first beat stands above the others, 0 (level) to 1. | |
| std::vector< int64_t > | downbeatSamples |
| The beats that open a bar, ascending: every beatsPerBar-th from firstDownbeat. | |
What estimate() returns.
Definition at line 119 of file DownbeatEstimator.h.
| int dspark::DownbeatEstimator< T >::Result::beatsPerBar = 0 |
Beats in a bar: the caller's, or 3 or 4 as estimated. 0: nothing was read.
Definition at line 122 of file DownbeatEstimator.h.
| T dspark::DownbeatEstimator< T >::Result::confidence = T(0) |
How far the chosen first beat stands above the others, 0 (level) to 1.
Definition at line 126 of file DownbeatEstimator.h.
| std::vector<int64_t> dspark::DownbeatEstimator< T >::Result::downbeatSamples |
The beats that open a bar, ascending: every beatsPerBar-th from firstDownbeat.
Definition at line 128 of file DownbeatEstimator.h.
| int dspark::DownbeatEstimator< T >::Result::firstDownbeat = -1 |
Index, into the beats given, of the first one that opens a bar. -1: nothing was read.
Definition at line 124 of file DownbeatEstimator.h.