FastLED 3.10.8
Loading...
Searching...
No Matches

◆ getRootName()

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

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

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

References fl::FL_NO_EXCEPT, and rootNote.