Difference in frequency domain between mp3 and wav

3 views (last 30 days)
I have plotted the frequency domain figure for mp3 and wav as shown in Figure below.
They are in dotted blue and dark orange respectively.
Why is there no difference which I thought the frequency of mp3 should be lower.
33freq.png
Thank you.

Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 5 Nov 2019
There are some small differences. You should also try to compare the spectrograms of the two signals, see the help for spectrogram. Are there big enough differences between the two audio-signals that you can hear it?
  2 Comments
Star Rats
Star Rats on 5 Nov 2019
The spectrogram is also the same. mp3 is in 4MB while wav is in 25MB.
Is it hard to observe naked-eye?
Bjorn Gustavsson
Bjorn Gustavsson on 5 Nov 2019
For the power spectra try to plot the difference, and the ratio, same for the spectrogram. you can try to plot the ratio between the time-series as well, will you see any difference? Do you hear any differences?

Sign in to comment.

Categories

Find more on Audio I/O and Waveform Generation 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!