]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
compress: Apply damping later.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 23 Jul 2018 08:52:14 +0000 (10:52 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 2 Sep 2018 15:42:54 +0000 (17:42 +0200)
This changes the algorithm of the compress filter to apply the right
shift defined by the --damp argument *after* the peak value of the
current block has been computed. This makes damping orthogonal to
the dynamic volume adjustments.

However, we increase the downshift so that the initial value of the
gain multiplier results in a right shift by one. Hence the expected
peak value is 16384, so make this the default target gain.


No differences found