|
FastLED 3.9.15
|
#include <audio.h>
Public Member Functions | |
| SoundLevelMeter (double spl_floor=33.0, double smoothing_alpha=0.0) FL_NOEXCEPT | |
| double | getDBFS () const FL_NOEXCEPT |
| double | getSPL () const FL_NOEXCEPT |
| void | processBlock (const fl::i16 *samples, fl::size count) FL_NOEXCEPT |
| Process a block of int16 PCM samples. | |
| void | processBlock (fl::span< const fl::i16 > samples) FL_NOEXCEPT |
| void | resetFloor () FL_NOEXCEPT |
| reset so the next quiet block will re-initialize your floor | |
| void | setFloorSPL (double spl_floor) FL_NOEXCEPT |
| change your known noise-floor SPL at runtime | |
Private Attributes | |
| double | mCurrentDbfs |
| double | mCurrentSpl |
| double | mDbfsFloorGlobal |
| double | mOffset |
| double | mSmoothingAlpha |
| double | mSplFloor |