The PeakLimiter object implements a simple peak limiter; it is really a simplified and hard-wired versio of the DynamicsProcessor.
More...
#include <fxobjects.h>
|
AudioDetector | detector |
| the detector object
|
|
double | threshold_dB = 0.0 |
| stored threshold (dB)
|
|
double | makeUpGain_dB = 0.0 |
| stored makeup gain (dB)
|
|
The PeakLimiter object implements a simple peak limiter; it is really a simplified and hard-wired versio of the DynamicsProcessor.
Audio I/O:
- Processes mono input to mono output.
Control I/F:
- Author
- Will Pirkle http://www.willpirkle.com
- Version
- Revision : 1.0
- Date
- Date : 2018 / 09 / 7
◆ canProcessAudioFrame()
virtual bool PeakLimiter::canProcessAudioFrame |
( |
| ) |
|
|
inlinevirtual |
◆ computeGain()
double PeakLimiter::computeGain |
( |
double |
detect_dB | ) |
|
|
inline |
compute the gain reductino value based on detected value in dB
◆ processAudioSample()
virtual double PeakLimiter::processAudioSample |
( |
double |
xn | ) |
|
|
inlinevirtual |
process audio: implement hard limiter
- Parameters
-
- Returns
- the processed sample
Implements IAudioSignalProcessor.
◆ reset()
virtual bool PeakLimiter::reset |
( |
double |
_sampleRate | ) |
|
|
inlinevirtual |
◆ setMakeUpGain_dB()
void PeakLimiter::setMakeUpGain_dB |
( |
double |
_makeUpGain_dB | ) |
|
|
inline |
◆ setThreshold_dB()
void PeakLimiter::setThreshold_dB |
( |
double |
_threshold_dB | ) |
|
|
inline |
The documentation for this class was generated from the following file: