It is quite different from a regular compressor: a compressor changes the 
volume depending on the past mean volume. This `compressor.exponential` roughly 
changes a sample `x` (between -1 and 1) into `1-(1-x)^n` where `n` is typically 
2. This means that the sample has a tendency to get pushed toward 1 (or -1 if 
it was negative). For instance, with n=2, you get
```
0.2 -> 0.36
0.4 -> 0.64
0.6 -> 0.84
0.8 -> 0.96
```
The higher the n is the higher the effect is (n=1 means no effect). So, 
intuitively, it acts as a compressor which makes the sound take the full range 
for samples. However, the function being non-linear, there is also a distortion 
in the spectrum, so I would do some testing before using it :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/766#issuecomment-490582620
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to