What can I know from the spectrogram of mp3 and wav file
3 views (last 30 days)
Show older comments
I have plotted the spectrogram for an audio in mp3 and wav file as shown in Figure 1 and 2 respectively.
Does it means that wav file has higher audible frequency range which is in brighter color while mp3 is in dark blue which has lower frequency?
![Figure 1: mp3 spectrogram](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246572/Figure%201:%20mp3%20spectrogram.png)
Figure 1: mp3 spectrogram
![wav spectrogram](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246573/wav%20spectrogram.png)
Figure 2: wav spectrogram
Thank you.
0 Comments
Answers (1)
Daniel M
on 5 Nov 2019
It's difficult to say given that they are plotted with two different colorbar axes limits. Set them to be the same and you can verify it easier visually. Try
colorbar;
caxis([-200 0])
Do that for each plot.
0 Comments
See Also
Categories
Find more on Time-Frequency Analysis 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!