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

Method getTypeName

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

Source from the content-addressed store, hash-verified

290}
291
292const char* Chord::getTypeName() const {
293 switch (type) {
294 case ChordType::MAJOR: return "maj";
295 case ChordType::MINOR: return "min";
296 case ChordType::DIMINISHED: return "dim";
297 case ChordType::AUGMENTED: return "aug";
298 case ChordType::MAJOR7: return "maj7";
299 case ChordType::MINOR7: return "min7";
300 case ChordType::DOMINANT7: return "7";
301 case ChordType::SUSPENDED2: return "sus2";
302 case ChordType::SUSPENDED4: return "sus4";
303 default: return "?";
304 }
305}
306
307} // namespace detector
308} // namespace audio

Callers 1

updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected