Perceptual Noise-Masking with Music through Deep Spectral Envelope Shaping
Clémentine Berger, Roland Badeau, Slim Essid
TL;DR
This work tackles masking ambient noise with music by learning spectral envelope shaping that leverages a psychoacoustic masking model. The authors introduce DPNMM, a U‑Net–based network that predicts per‑Band gains g(n,ν) to construct filter responses which, when applied to the music, increase its masking thresholds while preserving original fidelity and user level, using a constrained, multipliers‑based perceptual loss. Evaluations on simulated headphone listening scenes show that DPNMM, especially without strict power constraints, improves masking (NMR) and maintains fidelity (GLD) compared to a state‑of‑the‑art perceptual equalizer, with constrained variants offering better power preservation and broader applicability. The approach advances practical, perceptually informed audio rendering for noisy listening environments and can be extended to other listening contexts and user preferences.
Abstract
People often listen to music in noisy environments, seeking to isolate themselves from ambient sounds. Indeed, a music signal can mask some of the noise's frequency components due to the effect of simultaneous masking. In this article, we propose a neural network based on a psychoacoustic masking model, designed to enhance the music's ability to mask ambient noise by reshaping its spectral envelope with predicted filter frequency responses. The model is trained with a perceptual loss function that balances two constraints: effectively masking the noise while preserving the original music mix and the user's chosen listening level. We evaluate our approach on simulated data replicating a user's experience of listening to music with headphones in a noisy environment. The results, based on defined objective metrics, demonstrate that our system improves the state of the art.
