Encapsulates McNally's peak detector with added LPF smoothing (optional)
More...
#include <limiter.h>
|
const double | kSmallestPositiveFloatValue = 1.175494351e-38 |
|
const double | kSmallestNegativeFloatValue = -1.175494351e-38 |
|
Encapsulates McNally's peak detector with added LPF smoothing (optional)
- output is in raw (linear, non dB) form
- can detect values greater than 1.0
- Author
- Will Pirkle http://www.willpirkle.com
- Version
- Revision : 1.0
- Date
- Date : 2021 / 04 / 26
◆ processAudioSample()
virtual double SynthLab::LinPeakDetector::processAudioSample |
( |
double |
xn | ) |
|
|
inlinevirtual |
process MONO input
- Parameters
-
- Returns
- the processed sample
◆ setAttackReleaseTimes()
void SynthLab::LinPeakDetector::setAttackReleaseTimes |
( |
double |
attack_in_ms, |
|
|
double |
release_in_ms |
|
) |
| |
|
inline |
set attack/release times
- Parameters
-
attack_in_ms | attack in milliseconds |
release_in_ms | release in milliseconds |
The documentation for this class was generated from the following file:
- C:/RackAFX Projects/SynthLab_SDK/source/limiter.h