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

◆ getRootName()

const char * fl::audio::detector::Chord::getRootName ( ) const

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

285 {
286 static const char* noteNames[] = {
287 "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"
288 };
289 return (rootNote >= 0 && rootNote < 12) ? noteNames[rootNote] : "?";
290}

References rootNote.