|
| fl::UIAudio | audio ("Audio Input") |
| |
| fl::UISlider | audioGain ("Audio Gain", 1.0f, 0.1f, 5.0f, 0.1f) |
| |
| fl::UICheckbox | autoGain ("Auto Gain", true) |
| |
| fl::UICheckbox | beatDetect ("Beat Detection", true) |
| |
| fl::UICheckbox | beatFlash ("Beat Flash", true) |
| |
| fl::UISlider | beatSensitivity ("Beat Sensitivity", 1.5f, 0.5f, 3.0f, 0.1f) |
| |
| fl::UISlider | brightness ("Brightness", 128, 0, 255, 1) |
| |
| void | clearDisplay () |
| |
| fl::UIDropdown | colorPalette ("Color Palette", {"Rainbow", "Heat", "Ocean", "Forest", "Party", "Lava", "Cloud"}) |
| |
| FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING(float-conversion) FL_DISABLE_WARNING(sign-conversion) fl fl::UIDescription | description ("Real-time audio visualizations with beat detection and multiple modes") |
| |
| bool | detectBeat (float energy) |
| |
| void | drawFireEffect (float peak) |
| |
| void | drawMatrixRain (float peak) |
| |
| void | drawPlasmaWave (float peak) |
| |
| void | drawRadialSpectrum (fl::audio::fft::Bins *fft, float) |
| |
| void | drawSpectrumBars (fl::audio::fft::Bins *fft, float) |
| |
| void | drawVUMeter (float rms, float peak) |
| |
| void | drawWaveform (const fl::span< const int16_t > &pcm, float) |
| |
| fl::UICheckbox | enableAudio ("Enable Audio", true) |
| |
| fl::UISlider | fadeSpeed ("Fade Speed", 20, 0, 255, 1) |
| |
| fl::CRGBPalette16 | getCurrentPalette () |
| |
| void | loop () |
| |
| fl::UICheckbox | mirrorMode ("Mirror Mode", false) |
| |
| fl::UISlider | noiseFloor ("Noise Floor", 0.1f, 0.0f, 1.0f, 0.01f) |
| |
| fl::UICheckbox | pitchDetectEnable ("Pitch Detection", false) |
| |
| fl::UICheckbox | pitchVisualizer ("Show Pitch Visualizer", false) |
| |
| void | setup () |
| |
| fl::audio::SoundLevelMeter | soundMeter (0.0, 0.0) |
| |
| void | updateAutoGain (float level) |
| |
| fl::UIDropdown | visualMode ("Visualization Mode", {"Spectrum Bars", "Radial Spectrum", "Waveform", "VU Meter", "Matrix Rain", "Fire Effect", "Plasma Wave"}) |
| |
| fl::XYMap | xyMap (WIDTH, HEIGHT, false) |
| |