ΣSigmaStudio Ask AI Русский Log in

Compressor formula

SigmaDSP & SigmaStudio rony Jul 8, 2020 00:00 3 replies Original on forum ↗
Subscribe
rony Question
Jul 8, 2020 00:00

I need the formula/equation of the DSP compressor component.
Threshold, Ratio Compressor, Ration Expander, Input Gain, Attack, Hold and Release.

DaveThib Reply
Jul 9, 2020 00:00

Hello Rony,

There are several posts that talk about this subject. I also prepared a document a long time ago. The document in in this post. So download it and read it that will get you started.

https://ez.analog.com/dsp/sigmadsp/f/q-a/164498/differences-in-response-between-peak-compressor-and-rms-compressor

This post explains some of it as well.

https://ez.analog.com/dsp/sigmadsp/f/q-a/64566/adau1452-compressor-calculations/179371#179371

Dave T

rony Reply
Jul 13, 2020 00:00

Hi Dave

I am working with the Sigma-Studio version 4.5 and the device is ADAU-1467.

I still don't know how to convert user parameter to the data capture in the Sigma-Studio.

For example --

1. I wrote the value 10 ms in the release box and I got the value 0x00, 0x00, 0x0C, 0x5A in the Sigma-Studio capture data.

2. I wrote the value 8 ms in the attack box and I got the value 0x00, 0x01, 0x56, 0x39 in the Sigma-Studio capture data

So what I need is, the formula/equation which convert the my value to the capture data.

In addition I need the formula/equation which convert the threshold, compressor ratio, expander ratio, and knee to the table of data points S0 till S52. (total 212 bytes)

Thanks

Rony

DaveThib Reply
Sep 3, 2020 00:00

Hello Rony,

This document should help you. Your questions are answered on the last few slides.

PDF

Dave T