MCPcopy Create free account
hub / github.com/FastLED/FastLED / getRootName

Method getRootName

src/fl/audio/detector/chord.cpp.hpp:285–290  ·  view source on GitHub ↗

Out-of-line definitions for Chord methods (needed for linking with unity builds)

Source from the content-addressed store, hash-verified

283
284// Out-of-line definitions for Chord methods (needed for linking with unity builds)
285const char* Chord::getRootName() const {
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}
291
292const char* Chord::getTypeName() const {
293 switch (type) {

Callers 1

updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected