Hybrid Model-Driven Inversion of Audio Dynamic Range Compression and Expansion

IBISC, Universite d'Évry/Paris Saclay
1 haoran.sun@univ-evry.fr
2 dominique.fourer@univ-evry.fr
3 hichem.maaref@univ-evry.fr
Code

Abstract

Dynamic Range Control (DRC) is a widely used audio effect that adjusts signal dynamics for applications in music production, broadcasting, and speech processing. Inverting DRC is of broad importance in restoring the original dynamics, enabling remixing, and enhancing the overall audio quality. Existing DRC inversion methods either overlook key parameters or rely on precise parameter values, which can be challenging to estimate accurately. To address this limitation, we make two main contributions. First, building on a widely used model-based compression inversion framework, we derive and validate an analytical inversion method for dynamic range expansion, enabling a unified treatment of both compression and expansion effects. Second, we propose a hybrid parameter estimation framework that combines classification and regression strategies: classification is used to identify DRC profiles when strong priors are available, while regression enables parameter estimation for unconstrained DRC configurations. The estimated parameters are used for model-based signal recovery from its compressed or expanded version. Experimental evaluations across various music and speech datasets confirm the effectiveness and robustness of our approach, outperforming several state-of-the-art end-to-end deep learning techniques.

Proposed Method

Proposed hybrid end-to-end DRC inversion framework

Figure 1. Proposed hybrid end-to-end DRC inversion framework combining classification and regression pathways.

DRC task chain

Figure 2. DRC task chain.

DRC Profiles

Dataset Parameter Settings

Parameter Description Small dataset (6 classes) Large dataset (31 classes)
A B C D E
Lc (dBFS) Threshold (compressor) -32-19.9-24.4-26.3-38.0 [-60, -20]
Le (dBFS) Threshold (expander) -12-19.9-24.4-26.3-18.0 [-40, -10]
R (dBin:dBout) Ratio 3.01.83.27.34.9 [2, 15]
τvatt (ms) Envelope attack 5 [5, 130]
τvrel (ms) Envelope release 5 [5, 130]
τgatt (ms) Gain attack 13.011.05.89.013.1 [10, 500]
τgrel (ms) Gain release 43549112705257 [25, 2000]
p (1 or 2) Detector type 2 2

Detailed Parameters of 30 DRC Profiles

Profile L(dB) R τvatt(ms) τvrel(ms) τgatt(ms) τgrel(ms)
1-30.62.373.920.3451.51153.6
2-55.912.125.450.954.11274.5
3-55.113.443.376.4354.6468.4
4-39.613.166.210.1325.51435.7
5-31.412.399.491.7160.7790.8
6-60.015.0130.089.2393.41758.2
7-47.85.450.984.1403.11677.6
8-46.94.948.466.2257.71516.3
9-45.32.589.2114.7344.91234.2
10-26.510.8114.768.8209.2145.9
11-43.78.435.6107.0432.1750.5
12-20.86.584.1101.9500.0347.4
13-22.411.3124.963.7364.3831.1
14-40.410.0112.199.4374.01355.1
15-52.74.4104.535.6199.51919.4
16-51.82.0117.2117.2277.0549.0
17-38.05.25.040.7296.41717.9
18-51.03.328.0127.4170.4669.9
19-29.89.233.156.0131.61959.7
20-29.011.845.881.5412.8992.3
21-28.25.710.117.834.7428.1
22-50.212.622.9122.383.21395.4
23-23.312.912.77.6112.225.0
24-44.57.815.286.6306.11838.8
25-46.111.0122.312.7189.81113.3
26-56.72.894.328.0102.6186.2
27-24.910.538.243.3335.2226.5
28-48.68.9107.0104.525.01798.5
29-49.410.2127.471.392.9508.7
30-24.114.281.558.6180.1871.4

DRC Inversion Results

Compression inversion results on large datasets

Figure 1. Compression inversion results on the large datasets.

Expansion inversion results on large datasets

Figure 2. Expansion inversion results on the large datasets.

Audio Hearing Examples

We provide several audio examples to compare different inversion methods. The original audio is a 5-second chunk extracted from the MedleyDB dataset.

Model Audio \( \mathcal{L}^{\text{MSE}}_{\hat{x},x} \downarrow \) \( \mathcal{L}^{\text{Mel}}_{\hat{x},x} \downarrow \) SISDR \( \uparrow \) 2f-score \( \uparrow \)
Original \\\\
Compression, with the compressor: [-32, 3, 5, 5, 13, 435, 2]
Compressed 0.00461.189.8328.38
Ref \(7.34 \times 10^{-7} \) 0.009771.2197.00
Anchor 0.643.070.448.06
AST \( 3.27 \times 10^{-6} \) 0.01941.1989.20
MEE 0.0270.5714.2939.96
Demucs 0.180.7310.1822.50
HDemucs 0.0260.4918.7245.78
De-Limiter 0.00350.07729.7653.35
CleanUMamba 0.00110.03634.2957.10
Expansion, with the expander: [-26.3, 7.3, 5, 5, 13, 435, 2]
Expanded 0.00511.089.3023.76
Ref \(6.41 \times 10^{-7} \) 0.002771.6895.80
Anchor 0.0110.528.7421.11
AST 0.000120.008135.9662.06
MEE 0.0150.03523.7850.09
Demucs 0.560.706.5620.13
HDemucs 0.240.3313.9543.62
De-Limiter 0.00240.6968.6239.56
CleanUMamba 0.000350.7716.3832.38