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

3 Kommentare

keshav poojari
keshav poojari am 24 Dez. 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);

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulation, Tuning, and Visualization finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Dez. 2018

Kommentiert:

am 24 Dez. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by