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

Method getRootName

src/fl/audio/detector/key.cpp.hpp:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58//------------------------------------------------------------------------------
59
60const char* Key::getRootName() const {
61 if (rootNote >= 12) return "?";
62 return NOTE_NAMES[rootNote];
63}
64
65void Key::getKeyName(char* buffer, size_t bufferSize) const {
66 if (bufferSize < 8) return; // Need space for "C# min\0"

Callers 1

updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected