Spectrogram of a song
Show older comments
Hi, I'm trying to graph the spectrum of an audio, but when I use the spectrogram function it appears that my song is not written as vector and i dont know how to fix it. Can somebody help me please.
Code:
[x,fs]=audioread('estrellita.mp3');
window=hamming(100,'periodic')
spectrogram(x,window)
Accepted Answer
More Answers (0)
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!