Applies compressor_mono from the faustlibraries distribution, compressors.lib.
More...
#include <Compressor.h>
|
| | Compressor (int numchans, bool verboseIn=false, float ratioIn=2.0f, float thresholdDBIn=-24.0f, float attackMSIn=15.0f, float releaseMSIn=40.0f, float makeUpGainDBIn=2.0f) |
| | The class constructor sets the number of audio channels and default parameters.
|
| |
| | Compressor (int numchans, bool verboseIn=false, CompressorPreset preset=CompressorPresets::voice) |
| |
| virtual | ~Compressor () |
| | The class destructor.
|
| |
| void | setParamAllChannels (const char pName[], float p) |
| |
| void | init (int samplingRate) override |
| | Do proper Initialization of members and class instances. By default this initializes the Sampling Frequency. If a class instance depends on the sampling frequency, it should be initialize here.
|
| |
| int | getNumInputs () override |
| | Return Number of Input Channels.
|
| |
| int | getNumOutputs () override |
| | Return Number of Output Channels.
|
| |
| void | compute (int nframes, float **inputs, float **outputs) override |
| | Compute process.
|
| |
| | ProcessPlugin () |
| | The Class Constructor.
|
| |
| virtual | ~ProcessPlugin () |
| | The Class Destructor.
|
| |
| virtual int | getNumInputs ()=0 |
| | Return Number of Input Channels.
|
| |
| virtual int | getNumOutputs ()=0 |
| | Return Number of Output Channels.
|
| |
| virtual char * | getName () |
| |
| virtual void | init (int samplingRate) |
| | Do proper Initialization of members and class instances. By default this initializes the Sampling Frequency. If a class instance depends on the sampling frequency, it should be initialize here.
|
| |
| virtual bool | getInited () |
| |
| virtual void | setVerbose (bool v) |
| |
| virtual void | compute (int nframes, float **inputs, float **outputs)=0 |
| | Compute process.
|
| |
Applies compressor_mono from the faustlibraries distribution, compressors.lib.
A Compressor reduces the output dynamic range when the signal level exceeds the threshold.
◆ Compressor() [1/2]
| Compressor::Compressor |
( |
int |
numchans, |
|
|
bool |
verboseIn = false, |
|
|
float |
ratioIn = 2.0f, |
|
|
float |
thresholdDBIn = -24.0f, |
|
|
float |
attackMSIn = 15.0f, |
|
|
float |
releaseMSIn = 40.0f, |
|
|
float |
makeUpGainDBIn = 2.0f |
|
) |
| |
|
inline |
The class constructor sets the number of audio channels and default parameters.
◆ Compressor() [2/2]
◆ ~Compressor()
| virtual Compressor::~Compressor |
( |
| ) |
|
|
inlinevirtual |
◆ compute()
| void Compressor::compute |
( |
int |
nframes, |
|
|
float ** |
inputs, |
|
|
float ** |
outputs |
|
) |
| |
|
overridevirtual |
◆ getNumInputs()
| int Compressor::getNumInputs |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getNumOutputs()
| int Compressor::getNumOutputs |
( |
| ) |
|
|
inlineoverridevirtual |
◆ init()
| void Compressor::init |
( |
int |
samplingRate | ) |
|
|
inlineoverridevirtual |
Do proper Initialization of members and class instances. By default this initializes the Sampling Frequency. If a class instance depends on the sampling frequency, it should be initialize here.
Reimplemented from ProcessPlugin.
◆ setParamAllChannels()
| void Compressor::setParamAllChannels |
( |
const char |
pName[], |
|
|
float |
p |
|
) |
| |
|
inline |
The documentation for this class was generated from the following files: