What is Audio normalise? How it work?

i Dont know about the audio normalise.. How it work? please give me any example code?
i used R2013a release

3 commentaires

keshav poojari
keshav poojari le 24 Déc 2018
[x, fs] = audioread('aa.mp3');
[loudness, LRA] = integratedLoudness(x, fs);
fprintf('Loudness before normalization: %.1f LUFS\n', loudness);
target = -23;
gaindB = target - loudness;
gain = 10^(gaindB/20);
xn = x.*gain;
audiowrite('RockGuitar_normalized.wav', xn, fs);
[x, fs] = audioread('RockGuitar_normalized.wav');
loudness = integratedLoudness(x, fs);
fprintf('Loudness af
ter normalization: %.1f LUFS\n', loudness);
The above code related to version R2018a ... But i used R2013a... so some functions are not worked .. it produce errors.
Undefined function 'integratedLoudness' for input arguments of type 'double'.
Error in silence1 (line 2)
[loudness, LRA] = integratedLoudness(x, fs);

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulation, Tuning, and Visualization dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by