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

◆ getCategoryName()

const char * fl::audio::detector::Mood::getCategoryName ( ) const
inline

Definition at line 52 of file mood_analyzer.h.

52 {
53 switch (getCategory()) {
54 case CALM_NEGATIVE: return "calm_negative";
55 case CALM_POSITIVE: return "calm_positive";
56 case ENERGETIC_NEGATIVE: return "energetic_negative";
57 case ENERGETIC_POSITIVE: return "energetic_positive";
58 case NEUTRAL: return "neutral";
59 default: return "unknown";
60 }
61 }
Category getCategory() const

References CALM_NEGATIVE, CALM_POSITIVE, ENERGETIC_NEGATIVE, ENERGETIC_POSITIVE, getCategory(), and NEUTRAL.

+ Here is the call graph for this function: