MCUdude / SigmaDSP

A versatile Arduino library for interfacing with the ADAU1401, ADAU1701 and ADAU1702 audio DSPs
GNU Lesser General Public License v3.0
165 stars 33 forks source link

Compressor Example #40

Open mscohen opened 5 months ago

mscohen commented 5 months ago

I've been getting a lot out of your SigmaDSP library. I'd like to give something back.

The attached is SigmaDSP and MCU code for a compressor example. I am not a github maven, and I don't know how to submit it properly for release, but you surely do.

The functions in the .ino file would potentially replace your compressorRMS function, and operate a bit faster. The code also includes an example for creating a compression I/O curve that implements a one knob setting for curve, gain, etc..., based on the analog implementation by THAT corp.

Please let me know if these are useful, and feel free to redistribute.

CompressorMCU.zip