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 Comments

[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);

Sign in to comment.

Answers (0)

Categories

Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange

Asked:

on 24 Dec 2018

Commented:

on 24 Dec 2018

Community Treasure Hunt

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

Start Hunting!