A device for equalizing an audio frequency signal broadcast in a broadcasting environment by a broadcasting system comprising at least one loudspeaker, the device being characterized in that it comprises a reprogrammable computing machine or a dedicated computing machine configured to perform:
- estimating a frequency profile of a noise signal representing a background noise present in the broadcasting environment, based on a signal, called the captured signal, captured by at least one microphone implemented in the broadcasting environment and on said audio frequency signal;
- determining a desired frequency profile for said broadcast audio frequency signal;
- determining an acoustic frequency mask representing, for each frequency component, a difference between said frequency profile of said noise signal and said desired frequency profile;
- and
- equalizing said audio frequency signal via a weighting of a spectrum of said audio frequency signal by applying a frequency weighting mask that is a function of said acoustic frequency mask, delivering said equalized audio frequency signal;
- the reprogrammable computing machine or the dedicated computing machine being further configured to perform:
- estimating said noise signal;
- and
- detecting at least one voice signal present in said noise signal providing detection information,
- said steps of estimating, determining and equalizing being carried out periodically for various samples of said captured signal and said audio frequency signal,
- wherein said detection of at least one voice signal involves estimating a likelihood of the presence of at least one voice signal in said noise signal,
- said frequency equalization implementing, for a given implementation, the frequency weighting mask corresponding to a weighted linear combination of the acoustic frequency mask determined during a previous implementation of said steps and on the acoustic frequency mask determined during the given implementation of said steps, said weighting being a function of said likelihood of presence such that said linear combination is reduced to:
- the acoustic frequency mask determined during a previous implementation of said steps when the likelihood of the presence of at least one voice signal in said noise signal is equal to 1;
- and
- the acoustic frequency mask determined during the given implementation of said steps when the likelihood of the presence of at least one voice signal in said noise signal is zero.