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

◆ pickAnimationFor()

fl::AnimartrixAnim animartrix_ring::SoundOrchestrator::pickAnimationFor ( SoundState s,
fl::u32 nowMs )
staticprivate

Definition at line 84 of file sound_orchestrator.cpp.

84 {
85 switch (s) {
86 case SoundState::Silence: return pickFromBank(kSilenceBank, nowMs);
87 case SoundState::Disorganized: return pickFromBank(kDisorganizedBank, nowMs);
88 case SoundState::BpmLocked: return pickFromBank(kBpmLockedBank, nowMs);
89 }
91}
fl::AnimartrixAnim pickFromBank(const Arr &bank, fl::u32 nowMs)

References animartrix_ring::BpmLocked, animartrix_ring::Disorganized, animartrix_ring::Silence, and fl::SLOW_FADE.

Referenced by switchAnimationIfNeeded().

+ Here is the caller graph for this function: