To see the spectral content of a sound as a function of time, select a Sound or LongSound object and choose View & Edit. A SoundEditor or LongSoundEditor window will appear on your screen. In the entire bottom half of this window you will see a greyish image, which is called a spectrogram. If you do not see it, choose Show spectrogram from the Spectrogram menu.
The spectrogram is a spectro-temporal representation of the sound. The horizontal direction of the spectrogram represents time, the vertical direction represents frequency. The time scale of the spectrogram is the same as that of the waveform, so the spectrogram reacts to your zooming and scrolling. To the left of the spectrogram, you see the frequency scale. The frequency at the bottom of the spectrogram is usually 0 Hz (hertz, cps, cycles per second), and a common value for the frequency at the top is 5000 Hz.
Darker parts of the spectrogram mean higher energy densities, lighter parts mean lower energy densities. If the spectrogram has a dark area around a time of 1.2 seconds and a frequency of 4000 Hz, this means that the sound has lots of energy for those high frequencies at that time. For many examples of spectrograms of speech sounds, see the textbook by Ladefoged (2001) and the reference work by Ladefoged & Maddieson (1996).
To see what time and frequency a certain part of the spectrogram is associated with, just click in the spectrogram and you will see the vertical time cursor showing the time above the waveform and the horizontal frequency cursor showing the frequency to the left of the spectrogram. This is one of the ways to find the formant frequencies for vowels, or the main spectral peaks for fricatives.
This is normal. Spectral analysis requires an analysis window of a certain duration. For instance, if Praat wants to know the spectrum at 1.342 seconds, it needs to include information about the signal in a 10-milliseconds window around this time point, i.e., Praat will use signal information about all times between 1.337 and 1.347 seconds. At the very edges of the sound, this information is not available: if the sound runs from 0 to 1.8 seconds, no spectrum can be computed between 0 and 0.005 seconds or between 1.795 and 1.800 seconds. Hence the white stripes. If you do not see them immediately when you open the sound, zoom in on the beginning or end of the sound.
When you zoom in on the middle of the sound (or anywhere not near the edges), the white stripes vanish. Suddenly you see only the time stretch between 0.45 and 1.35 seconds, for instance. But Praat did not forget what the signal looks like just outside the edges of this time window. To display a spectrogram from 0.45 to 1.35 seconds, Praat will use information from the wave form between 0.445 and 1.355 seconds, and if this is available, you will see no white stripes at the edges of the window.
This is normal as well, especially for long windows. If your visible time window is 20 seconds long, and the window takes up 1000 screen pixels horizontally, then you might think that every one-pixel-wide vertical line should represent the spectrum of 20 milliseconds of sound. But for reasons of computation speed, Praat will only show the spectrum of the part of the sound that lies around the centre of those 20 milliseconds, not the average or sum of all the spectra in those 20 milliseconds. This undersampling of the underlying spectrogram is different from what happens in the drawing of the wave form, where a vertical black line connects the minimum and maximum amplitude of all the samples that fall inside a screen pixel. We cannot do something similar for spectrograms. And since scrolling goes by fixed time steps (namely, 5 percent of the duration of the visible window), rather than by a whole number of screen pixels, the centres of the pixels will fall in different parts of the spectrogram with each scroll. Hence the apparent changes. If your visible window is shorter than a couple of seconds, the scrolling spectrogram will appear much smoother.
The darkness of the spectrogram will also change when you scroll, because the visible part with the most energy is defined as black. When a very energetic part of the signal scrolls out of view, the spectrogram will turn darker. The next section will describe a way to switch this off.
© ppgb 20110128