What is Audio normalise? How it work?

2 次查看(过去 30 天)
i Dont know about the audio normalise.. How it work? please give me any example code?
i used R2013a release
  3 个评论
keshav poojari
keshav poojari 2018-12-24
[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);

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Audio Processing Algorithm Design 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by