|
FastLED 3.9.15
|
Namespaces | |
| namespace | anonymous_namespace{equalizer.cpp.hpp} |
| namespace | anonymous_namespace{frequency_bands.cpp.hpp} |
Classes | |
| class | Backbeat |
| Detects backbeats (beats 2 and 4 in 4/4 time) in music. More... | |
| class | Beat |
| struct | Buildup |
| class | BuildupDetector |
| struct | Chord |
| class | ChordDetector |
| struct | ChordTemplate |
| class | Downbeat |
| Detects downbeats (first beat of each measure) in music. More... | |
| struct | Drop |
| class | DropDetector |
| class | DynamicsAnalyzer |
| class | EnergyAnalyzer |
| struct | Equalizer |
| Snapshot of equalizer state, passed to onEqualizer callbacks. More... | |
| struct | EqualizerConfig |
| Configuration for the equalizer detector. More... | |
| class | EqualizerDetector |
| WLED-style equalizer detector that provides a 16-bin frequency spectrum normalized to 0.0-1.0, plus convenience bass/mid/treble/volume getters. More... | |
| class | FrequencyBands |
| struct | Key |
| class | KeyDetector |
| struct | Mood |
| class | MoodAnalyzer |
| struct | MultibandAccent |
| Multi-band accent information for backbeat detection. More... | |
| class | MultiBandBeat |
| MultiBandBeat performs frequency-specific beat detection. More... | |
| struct | MultiBandBeatDetectorConfig |
| Configuration for multi-band beat detection. More... | |
| class | MusicalBeat |
| MusicalBeat distinguishes true musical beats from random onset detection. More... | |
| struct | MusicalBeatDetectorConfig |
| Configuration for musical beat detection. More... | |
| class | Note |
| Note - Musical note detection with MIDI output. More... | |
| class | Percussion |
| class | Pitch |
| Pitch - Continuous pitch tracking using autocorrelation. More... | |
| class | Silence |
| class | TempoAnalyzer |
| class | Transient |
| Transient - Detects sharp attack transients in audio. More... | |
| class | Vibe |
| struct | VibeLevels |
| class | Vocal |
| struct | VocalDetectorDiagnostics |
Enumerations | |
| enum class | ChordType { MAJOR , MINOR , DIMINISHED , AUGMENTED , MAJOR7 , MINOR7 , DOMINANT7 , SUSPENDED2 , SUSPENDED4 , UNKNOWN } |
| enum class | FFTScalingMode : u8 { None , SquareRoot , Logarithmic , Linear } |
| FFT bin scaling mode applied before per-bin normalization. More... | |
| enum class | PercussionType : u8 { Kick , Snare , HiHat , Tom } |
Variables | |
| static const ChordTemplate | kChordTemplates [] |
| static const int | kNumChordTemplates = sizeof(kChordTemplates) / sizeof(ChordTemplate) |
| static const char * | NOTE_NAMES [12] |
| static int | sFrequencyBandsFFTCount = 0 |
| static int | sVibeFFTCount = 0 |
When outputAttack > 0 AND outputDecay > 0, uses AttackDecayFilter instead of ExponentialSmoother for per-bin output smoothing. WLED-MM uses attack ~24-50ms, decay ~250-300ms. Output attack time (seconds). 0 = use smoothing tau.
| struct fl::audio::detector::MultibandAccent |
| struct fl::audio::detector::MultiBandBeatDetectorConfig |
| struct fl::audio::detector::MusicalBeatDetectorConfig |
| Class Members | ||
|---|---|---|
| float | bpmSmoothingAlpha = 0.9f | BPM estimation smoothing factor (0.0-1.0) Higher values = slower BPM adaptation, more stable tempo. |
| float | maxBPM = 250.0f | Maximum BPM to detect (default: 250 BPM) |
| u32 | maxIBIHistory = 8 | Maximum number of inter-beat intervals to track Higher values = better BPM estimation, more memory. |
| float | minBeatConfidence = 0.5f | Minimum beat confidence to report a beat (0.0-1.0) Higher values = fewer false positives, may miss weak beats. |
| float | minBPM = 50.0f | Minimum BPM to detect (default: 50 BPM) |
| u32 | sampleRate = 22050 | Sample rate (Hz) - used for timing calculations. |
| u32 | samplesPerFrame = 512 | Samples per frame - used for timing calculations. |
| struct fl::audio::detector::VibeLevels |
|
strong |
| Enumerator | |
|---|---|
| MAJOR | |
| MINOR | |
| DIMINISHED | |
| AUGMENTED | |
| MAJOR7 | |
| MINOR7 | |
| DOMINANT7 | |
| SUSPENDED2 | |
| SUSPENDED4 | |
| UNKNOWN | |
Definition at line 14 of file chord.h.
|
strong |
FFT bin scaling mode applied before per-bin normalization.
WLED-MM default is SquareRoot; FastLED previously used None (raw CQT magnitudes).
| Enumerator | |
|---|---|
| None | Raw magnitudes (no scaling) |
| SquareRoot | Square root of magnitude (WLED-MM default, good perceptual balance) |
| Logarithmic | Log10(1 + magnitude) — compresses high peaks. |
| Linear | Identity (same as None, explicit name for WLED compat) |
Definition at line 17 of file equalizer.h.
|
strong |
|
static |
Definition at line 23 of file chord.cpp.hpp.
Referenced by fl::audio::detector::ChordDetector::detectChord(), and fl::audio::detector::ChordDetector::initializeTemplateMap().
|
static |
Definition at line 34 of file chord.cpp.hpp.
Referenced by fl::audio::detector::ChordDetector::detectChord(), and fl::audio::detector::ChordDetector::initializeTemplateMap().
|
static |
Definition at line 52 of file key.cpp.hpp.
Referenced by fl::audio::detector::Key::getRootName().
|
static |
Definition at line 11 of file frequency_bands.cpp.hpp.
Referenced by fl::audio::detector::FrequencyBands::getPrivateFFTCount(), fl::audio::detector::FrequencyBands::resetPrivateFFTCount(), and fl::audio::detector::FrequencyBands::update().
|
static |
Definition at line 19 of file vibe.cpp.hpp.
Referenced by fl::audio::detector::Vibe::getPrivateFFTCount(), fl::audio::detector::Vibe::resetPrivateFFTCount(), and fl::audio::detector::Vibe::update().