How to draw a high-contrast spectrogram?
12 ビュー (過去 30 日間)
表示 古いコメント
Some software for sound analysis can draw spectrograms with higher contrast (backgrounds are almost zero). I was wondering what tricks may I use to generate similar spectrograms.

Figure-1 A spectrogram generated by matlab function spectrogram()

Figure-2 A spectrogram of the same audio signal generated by a software
0 件のコメント
回答 (2 件)
Andres Morales
2023 年 1 月 22 日
You can modify the spectrogram minimum thresholding value. This will zero values below the threshold:
https://www.mathworks.com/help/signal/ref/spectrogram.html#namevaluepairarguments
0 件のコメント
参考
カテゴリ
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!