Implements a custom peak limiter designed especially for self oscillating filters whose outputs are > 0dBFS.
More...
#include <limiter.h>
|
void | reset (double _sampleRate) |
| reset internal detector
|
|
void | setThreshold_dB (double _threshold_dB) |
| set threshold in dB
|
|
void | setThreshold (double _threshold) |
| set threshold in dB
|
|
double | calcLimiterGaindB (float fDetectorValue, float fThreshold) |
| calculate limiter gain using dB values for threshold and detection More...
|
|
double | calcLimiterGain (float fDetectorValue, float fThreshold) |
| calculate limiter gain using dB values for threshold and detection More...
|
|
double | process (double input) |
| process one sample through limiter More...
|
|
Implements a custom peak limiter designed especially for self oscillating filters whose outputs are > 0dBFS.
- Author
- Will Pirkle http://www.willpirkle.com
- Version
- Revision : 1.0
- Date
- Date : 2021 / 04 / 26
◆ calcLimiterGain()
double SynthLab::Limiter::calcLimiterGain |
( |
float |
fDetectorValue, |
|
|
float |
fThreshold |
|
) |
| |
|
inline |
calculate limiter gain using dB values for threshold and detection
- Parameters
-
fDetectorValue | detected value in dB |
fThreshold | threshold of limiting in dB |
◆ calcLimiterGaindB()
double SynthLab::Limiter::calcLimiterGaindB |
( |
float |
fDetectorValue, |
|
|
float |
fThreshold |
|
) |
| |
|
inline |
calculate limiter gain using dB values for threshold and detection
- Parameters
-
fDetectorValue | detected value in dB |
fThreshold | threshold of limiting in dB |
◆ process()
double SynthLab::Limiter::process |
( |
double |
input | ) |
|
|
inline |
process one sample through limiter
- Returns
- limited output value
The documentation for this class was generated from the following file:
- C:/RackAFX Projects/SynthLab_SDK/source/limiter.h