Open vibenium opened 2 years ago
1st and 2nd commit had SmoothingStyle::Logarithmic()
on all parameters. I had to change (now exponential, but linear may be a better choice) those because of sudden peaks in the audio since those parameters had values containing 0.
I briefly tested the functionality of Mix Utility in Ardour and it seems to work well. A lot of the code in the
lib.rs
file is derived from https://github.com/robbert-vdh/nih-plug/tree/master/plugins/examples/gain with a few adjustments. The cargo build command is in the mix-utility/README.md file. This is the current DSP design:incoming_signal => polarity => stereo_widener => panning => gain => processed_signal
The DSP algorithms for the polarity, stereo widening, panning and gain are all found in the
process()
function inmix-utility/src/lib.rs
Some improvements:
SmoothingStyle
is most likely necessary.