Clear Filters
Clear Filters

What is Audio normalise? How it work?

2 views (last 30 days)
keshav poojari
keshav poojari on 24 Dec 2018
Commented: Walter Roberson on 24 Dec 2018
i Dont know about the audio normalise.. How it work? please give me any example code?
i used R2013a release
  3 Comments
keshav poojari
keshav poojari on 24 Dec 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);

Sign in to comment.

Answers (0)

Categories

Find more on Audio Processing Algorithm Design in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!