FastLED 3.9.15
Loading...
Searching...
No Matches
sound_orchestrator.h File Reference
#include "FastLED.h"
#include "fl/audio/audio_processor.h"
#include "fl/audio/detector/vibe.h"
#include "fl/fx/2d/animartrix.hpp"
#include "fl/fx/fx_engine.h"
#include "fl/stl/shared_ptr.h"
#include "fl/stl/stdint.h"
+ Include dependency graph for sound_orchestrator.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  animartrix_ring::OrchestratorConfig
 
class  animartrix_ring::SoundOrchestrator
 Top-level orchestrator. More...
 

Namespaces

namespace  animartrix_ring
 

Enumerations

enum class  animartrix_ring::SoundState : fl::u8 { animartrix_ring::Silence = 0 , animartrix_ring::Disorganized = 1 , animartrix_ring::BpmLocked = 2 }
 

Functions

const char * animartrix_ring::toString (SoundState s)
 

Class Documentation

◆ animartrix_ring::OrchestratorConfig

struct animartrix_ring::OrchestratorConfig
Class Members
float beatConfidenceEnter = 0.50f also require beatConf >= this for BpmLocked
float beatConfidenceExit = 0.35f
float bpmLockedBaseSpeed = 1.0f
u32 classifierHysteresisMs = 400
float disorganizedSpeedSpan = 1.5f
u32 minDwellMs = 1500
u32 pulseDecayMs = 220
u32 silenceEnterMs = 700 silence must persist this long to enter Silence
u32 silenceExitMs = 150 sound must persist this long to leave Silence
float silenceSpeed = 0.25f
float tempoConfidenceEnter = 0.60f enter BpmLocked when tempoConf >= this
float tempoConfidenceExit = 0.45f leave BpmLocked when tempoConf < this