|
| SimpleGate () |
|
void | Process (ref double in1, ref double in2) |
| Processes the input stereo data using sidechain compression.
|
|
| AttRelEnvelope (double attackMilliseconds, double releaseMilliseconds, double sampleRate) |
|
double | Run (double inValue, double state) |
|
◆ SimpleGate()
NAudio.Dsp.SimpleGate.SimpleGate |
( |
| ) |
|
|
inline |
◆ Process()
void NAudio.Dsp.SimpleGate.Process |
( |
ref double | in1, |
|
|
ref double | in2 ) |
|
inline |
Processes the input stereo data using sidechain compression.
- Parameters
-
in1 | The first input signal, passed by reference. |
in2 | The second input signal, passed by reference. |
This method processes the input stereo data using sidechain compression. It first rectifies the input signals, then determines the key signal by selecting the greater of the two rectified signals. The key signal is compared to a threshold, and based on the result, an attack/release process is applied to generate an envelope. The envelope is then used to apply gain reduction to the input signals, resulting in the processed stereo data.
◆ env
double NAudio.Dsp.SimpleGate.env |
|
private |
◆ thresh
double NAudio.Dsp.SimpleGate.thresh |
|
private |
◆ threshdB
double NAudio.Dsp.SimpleGate.threshdB |
|
private |
◆ Threshold
double NAudio.Dsp.SimpleGate.Threshold |
|
getset |
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/LiveMicrophone/lib/NAudio.Core/Dsp/SimpleGate.cs