This schematic should lead to this pseudocode:SKyzZz wrote: ↑Mon Nov 01, 2021 7:28 pm There are two filters(LP+HP) and compression. This is the result of the signal being processed. I want to understand how to sum up such a processed signal AND what I cut with a conventional filter. That is, it is a compressor that filters part of the frequencies compresses what remains, but in the AND adds up the raw signal by the compressor and is processed.
untitled (4).png
Code: Select all
auto in = *in_buffer;
auto x = in;
x = lowpass(x);
x = highpass(x);
auto leftover = in - x;
x = compressor(x);
auto out = x + leftover;
Code: Select all
auto in = *in_buffer;
auto x = highpass(lowpass(in));
auto out = compressor(x) + in - x;
Also, if your compressor introduces latency, you should mix its result with delayed leftover.