The invention relates to an audio
processing method and device,
electronic equipment and a storage medium, and the method comprises the steps: obtaining a
gain amplitude value of a current
audio signal and a
signal flow
loudness value of the current
audio signal when the set volume of the
audio signal is detected to be changed; determining the
loudness amplitude value of the current audio
signal according to the
gain amplitude value and the
signal flow
loudness value; acquiring an audio
compensation strategy corresponding to the loudness amplitude value; and performing
loudness compensation on the audio signal according to the audio
compensation strategy to obtain an audio signal meeting a preset loudness condition. According to the method, the user hearing change caused by the amplitude change of the input audio
stream and the set
volume change is comprehensively considered, the amplitude change of the input audio
stream is calculated by adopting a loudness analysis
algorithm, the loudness change is reflected more comprehensively and accurately, and the user experience is improved by calling corresponding compensation parameters. Therefore, the sound experience of the user is greatly improved, and a better audio playing effect is realized.