FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setGain()

void fl::audio::Processor::setGain ( float gain)

Set a simple digital gain multiplier applied to each sample before detector.

Default: 1.0 (no change). Values > 1.0 amplify, < 1.0 attenuate.

Definition at line 736 of file audio_processor.cpp.hpp.

736 {
737 mGain = gain;
738}

References mGain, and setGain().

Referenced by onDropImpact(), setGain(), and fl::audio::Reactive::setGain().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: