FastLED 3.9.15
Loading...
Searching...
No Matches

◆ kChordTemplates

const ChordTemplate fl::audio::detector::kChordTemplates[]
static
Initial value:
= {
{ChordType::MAJOR, {0, 4, 7, -1, -1}, 3},
{ChordType::MINOR, {0, 3, 7, -1, -1}, 3},
{ChordType::DIMINISHED, {0, 3, 6, -1, -1}, 3},
{ChordType::AUGMENTED, {0, 4, 8, -1, -1}, 3},
{ChordType::MAJOR7, {0, 4, 7, 11, -1}, 4},
{ChordType::MINOR7, {0, 3, 7, 10, -1}, 4},
{ChordType::DOMINANT7, {0, 4, 7, 10, -1}, 4},
{ChordType::SUSPENDED2, {0, 2, 7, -1, -1}, 3},
{ChordType::SUSPENDED4, {0, 5, 7, -1, -1}, 3},
}

Definition at line 23 of file chord.cpp.hpp.

23 {
24 {ChordType::MAJOR, {0, 4, 7, -1, -1}, 3},
25 {ChordType::MINOR, {0, 3, 7, -1, -1}, 3},
26 {ChordType::DIMINISHED, {0, 3, 6, -1, -1}, 3},
27 {ChordType::AUGMENTED, {0, 4, 8, -1, -1}, 3},
28 {ChordType::MAJOR7, {0, 4, 7, 11, -1}, 4},
29 {ChordType::MINOR7, {0, 3, 7, 10, -1}, 4},
30 {ChordType::DOMINANT7, {0, 4, 7, 10, -1}, 4},
31 {ChordType::SUSPENDED2, {0, 2, 7, -1, -1}, 3},
32 {ChordType::SUSPENDED4, {0, 5, 7, -1, -1}, 3},
33};

Referenced by fl::audio::detector::ChordDetector::detectChord(), and fl::audio::detector::ChordDetector::initializeTemplateMap().