Fixed held-out set of 160 singing clips across 6 datasets; identical clips before/after
(metric definitions match the DAC paper's audiotools implementations).
Off-the-shelf DAC reconstructs singing waveforms poorly (SI-SDR −9.6 on singing vs ~16 dB
reported on general audio); fine-tuning restores it to the codec's native quality regime on
the singing domain. (scripts/eval_quality.py additionally reports STOI/MCD/F0.)
1import dac
2from audiotools import AudioSignal
3model = dac.DAC.load("dac_singing_finetune_24khz.pth").eval().to("cuda")
4sig = AudioSignal("song.wav").resample(24000).to_mono()
5x = model.preprocess(sig.audio_data.cuda(), 24000)
6z, codes, latents, _, _ = model.encode(x) # z: (B, 1024, T) @ ~75 Hz
7y = model.decode(z)
Base:
weights_24khz_8kbps_0.0.4
(74.7 M generator, RVQ 32×1024 dim-8, hop 320 ≈ 75 Hz).
Full fine-tune from the pretrained generator (the official release ships no discriminator, so
MPD+MRD+MSD is re-initialized and warmed up). batch 16, 3 s segments, AdamW lr 1e-4, 200 k steps,
quantizer_dropout 0.5. 1× NVIDIA RTX PRO 6000 (Blackwell), PyTorch 2.11 + CUDA 12.8.
This work was supported by the GPU infrastructure provided by the Handong Global University
AI Innovation Center. Training data includes AI-Hub datasets (see Data) and the
Descript Audio Codec as the base model.
1@inproceedings{kumar2023high,
2 title={High-Fidelity Audio Compression with Improved {RVQGAN}},
3 author={Kumar, Rithesh and Seetharaman, Prem and Luebs, Alejandro and Kumar, Ishaan and Kumar, Kundan},
4 booktitle={NeurIPS}, year={2023}
5}