MeadowlarkDAW / meadowlark-plugins

A suite of audio plugins for use with the RustyDAW project
GNU General Public License v3.0
10 stars 6 forks source link

mix-utility plugin #4

Open vibenium opened 2 years ago

vibenium commented 2 years ago

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 in mix-utility/src/lib.rs

Some improvements:

  1. Exploring other methods in regards to SmoothingStyle is most likely necessary.
  2. Currently, it can only be built from the mix-utility directory.
vibenium commented 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.