|
| fl::UIButton | advanceFrame ("Advance frame") |
| |
| fl::UISlider | attackTimeSeconds ("Attack time Seconds",.1, 0, 4,.02) |
| |
| fl::UIAudio | audio ("Audio") |
| |
| fl::MaxFadeTracker | audioFadeTracker (attackTimeSeconds.value(), decayTimeSeconds.value(), outputTimeSec.value(), 44100) |
| |
| fl::UIGroup | audioProcessingControls ("Audio Processing", decayTimeSeconds, attackTimeSeconds, outputTimeSec) |
| |
| fl::UISlider | decayTimeSeconds ("Fade time Seconds",.1, 0, 4,.02) |
| |
| fl::UIDescription | description ("This is more of a test for new features.") |
| |
| bool | doFrame () |
| |
| fl::UICheckbox | enableFFT ("Enable FFT visualization", true) |
| |
| fl::UICheckbox | enablePitchDetect ("Enable pitch detection", false) |
| |
| fl::UICheckbox | enableRMS ("Enable RMS visualization", false) |
| |
| fl::UICheckbox | enableVolumeVis ("Enable volume visualization", false) |
| |
| fl::UISlider | fadeToBlack ("Fade to black by", 5, 0, 20, 1) |
| |
| fl::audio::fft::Bins | fftOut (WIDTH) |
| |
| fl::XYMap | frameBufferXY (WIDTH, HEIGHT, IS_SERPINTINE) |
| |
| fl::UICheckbox | freeze ("Freeze frame", false) |
| |
| fl::UIGroup | generalControls ("General Controls", freeze, advanceFrame, fadeToBlack) |
| |
| fl::XYMap | ledsXY (WIDTH/2, HEIGHT/2, IS_SERPINTINE) |
| |
| void | loop () |
| |
| fl::UISlider | outputTimeSec ("outputTimeSec",.17, 0, 2,.01) |
| |
| float | rms (fl::span< const int16_t > data) |
| |
| void | setup () |
| |
| void | shiftUp () |
| |
| fl::audio::SoundLevelMeter | soundLevelMeter (.0, 0.0) |
| |
| fl::UITitle | title ("Simple control of an xy path") |
| |
| fl::UIGroup | visualizationControls ("Visualization", enableVolumeVis, enableRMS, enableFFT, enablePitchDetect) |
| |