DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
Loading...
Searching...
No Matches
dspark::ChordDetector< T >::Result Struct Reference

One detection result. More...

#include <ChordDetector.h>

Public Attributes

int rootPitchClass = -1
 0 = C ... 11 = B; -1 = none.
 
ChordType type = ChordType::None
 
float confidence = 0.0f
 [0, 1].
 

Detailed Description

template<FloatType T>
struct dspark::ChordDetector< T >::Result

One detection result.

Definition at line 70 of file ChordDetector.h.

Member Data Documentation

◆ confidence

template<FloatType T>
float dspark::ChordDetector< T >::Result::confidence = 0.0f

[0, 1].

Definition at line 74 of file ChordDetector.h.

◆ rootPitchClass

template<FloatType T>
int dspark::ChordDetector< T >::Result::rootPitchClass = -1

0 = C ... 11 = B; -1 = none.

Definition at line 72 of file ChordDetector.h.

◆ type

template<FloatType T>
ChordType dspark::ChordDetector< T >::Result::type = ChordType::None

Definition at line 73 of file ChordDetector.h.


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