FastLED 3.9.15
Loading...
Searching...
No Matches
audio_frame.h File Reference
#include "fl/stl/stdint.h"
+ Include dependency graph for audio_frame.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::AudioFrame
 Lightweight snapshot of pre-computed audio analysis for one audio sample. More...
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Class Documentation

◆ fl::AudioFrame

struct fl::AudioFrame
Class Members
float bass = 0.0f Bass energy (0.0-1.0, normalized)
bool beat = false True if a beat was detected this sample.
float mid = 0.0f Mid energy (0.0-1.0, normalized)
u32 timestamp = 0 When this audio sample was captured (ms)
float treble = 0.0f Treble energy (0.0-1.0, normalized)
float volume = 0.0f Overall volume (0.0-1.0, normalized RMS)