|
DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
|
One key estimate. More...
#include <KeyDetector.h>
Public Attributes | |
| int | tonicPitchClass = -1 |
| Numerical rank 1; -1 = nothing yet. | |
| bool | isMinor = false |
| Mode of the numerical winner. | |
| T | confidence = T(0) |
| Numerical rank-1/rank-2 margin. | |
| int | runnerUpPitchClass = -1 |
| Numerical rank 2; -1 = nothing yet. | |
| bool | runnerUpMinor = false |
| Mode of the numerical runner-up. | |
| int | relativeAlternativePitchClass = -1 |
| Winner's relative key. | |
| bool | relativeAlternativeMinor = false |
| Mode of the relative key. | |
| int | relativeAlternativeRank = 0 |
| Its actual 1-based numerical rank. | |
One key estimate.
Definition at line 172 of file KeyDetector.h.
| T dspark::KeyDetector< T >::Key::confidence = T(0) |
Numerical rank-1/rank-2 margin.
Definition at line 176 of file KeyDetector.h.
| bool dspark::KeyDetector< T >::Key::isMinor = false |
Mode of the numerical winner.
Definition at line 175 of file KeyDetector.h.
| bool dspark::KeyDetector< T >::Key::relativeAlternativeMinor = false |
Mode of the relative key.
Definition at line 180 of file KeyDetector.h.
| int dspark::KeyDetector< T >::Key::relativeAlternativePitchClass = -1 |
Winner's relative key.
Definition at line 179 of file KeyDetector.h.
| int dspark::KeyDetector< T >::Key::relativeAlternativeRank = 0 |
Its actual 1-based numerical rank.
Definition at line 181 of file KeyDetector.h.
| bool dspark::KeyDetector< T >::Key::runnerUpMinor = false |
Mode of the numerical runner-up.
Definition at line 178 of file KeyDetector.h.
| int dspark::KeyDetector< T >::Key::runnerUpPitchClass = -1 |
Numerical rank 2; -1 = nothing yet.
Definition at line 177 of file KeyDetector.h.
| int dspark::KeyDetector< T >::Key::tonicPitchClass = -1 |
Numerical rank 1; -1 = nothing yet.
Definition at line 174 of file KeyDetector.h.