Intro 3.7. Configuring the spectral slice

Spectral slice at the cursor

What Praat does precisely, depends on your Spectrogram settings. Suppose that the window length setting is 0.005 seconds (5 milliseconds). If the window shape is not Gaussian, Praat will extract the part of the sound that runs from 2.5 milliseconds before the cursor to 2.5 ms after the cursor. Praat then multiplies this 5 ms long signal by the window shape, then computes a spectrum with the method of Sound: To Spectrum..., which is put into the Objects window and opened in an editor window. If the window shape is Gaussian, Praat will extract a part of the sound that runs from 5 milliseconds before the cursor to 5 ms after the cursor. The spectrum will then be based on a “physical” window length of 10 ms, although the “effective” window length is still 5 ms (see Intro 3.2. Configuring the spectrogram for details).

Spectral slice from a selection

What Praat does precisely, again depends on the window shape of your Spectrogram settings. Suppose that your selection is 50 ms long. Praat will extract the entire selection, then multiply this 50 ms long signal by the window shape, then compute a spectrum, put it into the Objects window and open it an editor window. This procedure is equivalent to choosing Extract windowed selection... (with a relative duration of 1.0), followed by To Spectrum... (with fast switched on), followed by Edit.

If the window is Gaussian, Praat will still only use the selection, without doubling its duration. This means that the spectrum that you see in this case will mainly be based on the centre half of the selection, and the signal near the edges will be largely ignored.

Links to this page


© ppgb 20110128