Matab Spectrogram Colour Axis
5 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to perform audio analysis with Matlab s spectrogram. I tried with 50 msec Hamming window and 50 % overlap. on some mp3 and wav files sampled at 44 kHz. I am getting a very sparse plot in the spectrogram (ie most of the colour area is blueish) and only if I focus down to the lower most frequencies ( less than 500 Hz) I am able to see something.
So this could be due to color scaling but why is the spectrogram displayed by Matlab have such low values of amplitude at higher frequencies ? How do I set an appropriate colour range for the plot ? Because I intend to use spectrograms for my work , I would like to know if they are supposed to apear this way or not.
0 个评论
回答(1 个)
Daniel Shub
2012-3-27
It is probably not a color range issue. Rather, it sounds like your audio signal has a "pink" (1/f) spectrum where there is more power, for a given bandwidth at low frequencies than at high frequencies. You could smooth the spectrogram with a filter that changes bandwidth with frequency (think log/octave bin widths), but this is a pain.
2 个评论
Daniel Shub
2012-3-27
Presumably you are not going to extract the features from the visual representation, so the color axis should not matter. As for what is the right domain to look for features in, there is a whole literature on that.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Time-Frequency Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!