FastLED 3.9.15
|
fl::SoundLevelMeter::SoundLevelMeter | ( | double | spl_floor = 33.0f, |
double | smoothing_alpha = 0.0 ) |
spl_floor | The SPL (dB SPL) that corresponds to your true noise-floor. |
smoothing_alpha | [0…1] how quickly to adapt floor; 0=instant min. |
Definition at line 79 of file audio.cpp.
References current_dbfs_, current_spl_, dbfs_floor_global_, INFINITY_DOUBLE, offset_, smoothing_alpha_, and spl_floor_.