A spectrogram, or sonogram, is a visual representation of the spectrum of frequencies in a sound, at each time. Spectrograms are also called spectral waterfalls, voiceprints, or voicegrams. Spectrograms are used extensively in the development of the fields of music, sonar, radar, and speech processing, seismology, etc.
Questions tagged [spectrogram]
502 questions
-1
votes
1 answer
How to align spectrogram with signal in matplotlib?
I am trying to plot the spectrogram of a signal along with the signal on the same plot as shown in figure:
The raw data is available here. But the signal and its spectrogram is not aligned. Why does this happen and how to align both of them in…

Tom Kurushingal
- 6,086
- 20
- 54
- 86
-1
votes
1 answer
how to convert the spectrogram into an image
using MATLAB, we have converted image into audio (.wav format). Also this audio file is converted into spectrogram image. Now we are trying to convert this spectrogram into an original input image

viji
- 19
- 1
- 1
-1
votes
1 answer
To scale values from Matlab's spectrogram to real range
I run
spectrogram(data, 64, 60, 256, 2, 'yaxis');
I get
I want to get range from 0 to 180 Hz, instead of normalised range from 0 to 1.
I can change axis by
axis([0 450 0 180])
but it does not change the values.
I run…

Léo Léopold Hertz 준영
- 134,464
- 179
- 445
- 697
-2
votes
1 answer
What is Mel spectrogram as an audio sequence and how do I apply it?
I was under the impression that Mel-spectrograms were simply spectrograms with mel scale as the y axis. However, recently, I read in a research paper this line "Data representations such as Mel-Spectrograms can be seen from two different…

cchoi1022
- 40
- 4
-2
votes
1 answer
How is the signal formatted through this code?
The mat file contains the following:
data: [15×3000000 double]
data_length_sec: 600
sampling_frequency: 5000
channels: {1×15 cell}
This is the code to run:
preictal_tst = 'Patient_1/Patient_1_preictal_segment_0001.mat'
preictal_data =…

Palmen
- 1
- 2
-3
votes
1 answer
How to count occurrences of a given frequency in a spectrogram
I have a spectrogram like this and I would like to sum up all the occurrences of a given frequency:
I tried to outline the questions that finally have no sense. I apologize for that.
Well the picture shows the information in dB of a wav file, that…

fler
- 33
- 4