Professional Documents
Culture Documents
Linguistic Phonetics
Praat handout #5
Images from Praat, such as waveforms, spectrograms, and spectral slices, can be printed out
or pasted into word-processing documents in several ways.
The Praat software is frequently updated by its authors. The changes are usually small, but if you are using this
handout along with a different version of Praat than the one listed below, you may find that some of the
functions and features look or act slightly differently from the way they are described here.
Section 5.1 was written on Novermber 9, 2005. 5.2 was last updated for Praat version 4.1.05 on August 23, 2003.
5.1 Screenshots
The simplest way to take what you can see on your computer screen and turn it into a
graphics file is to make a screenshot.
(1)
(2)
Mac OS X v10.4 stores the captures on the desktop (~/Desktop/) in PNG format. Mac OS
X v10.4 saves the capture in PNG, Mac OS X v10.3 and Mac OS X v10.2 save them in PDF
format, and Mac OS X v10.1 saves them as TIFFs. In Mac OS versions prior to X, the
captures are saved as a ordered-numbered PICT files (Picture 1, Picure 2, Picture 3...) in the
root level of the startup disk.
Start out by selecting a Sound object in the Objects window. Click on Edit, which
will open a Sound window. Zoom in or out until the window shows the part of the
spectrogram that you want to print.
(2)
(3)
You can double-check that you've got the spectrogram view that you want by
selecting (highlighting) the Spectrogram object and clicking View on the right-side
menu. (Note that the red time and frequency markers you see here will not be
included in the spectrogram that you send to the Picture window. See section 5.2.2
on how to add markers like these.)
(4)
Go over to the Picture window and prepare a space for your spectrogram (see 5.2.2).
Then click on Paint on the right-side menu bar (and click OK in the dialogue box),
and your spectrogram will appear in the Picture window.
The Picture window looks like a blank piece of paper, 12 inches by 12 inches (the
dimensions are labeled at the margins). Remember that letter-sized paper, which you
will be printing on, is 8.5 by 11 inches, and plan accordingly. Also, your printer may not
be happy if you use the paper all the way out to the edges, so leave at least a half-inch
margin. A one-inch margin is even better.
The basic concept behind the Picture window is that you first define a space in the
window by clicking and dragging with the mouse. (This space will appear surrounded by
a thick pink margin on a Windows system, or as a highlighted area on a Macintosh.)
Then you Paint (or Draw, which is the choice you get when you have an object that isn't
a spectrogram) an object from the Objects window into that space. Your spectrogram
will be "painted" with whatever vertical and horizontal proportions you use when you
create the space. Note that you can place several spectrograms on each page.
When you define a space and paint/draw an object into it, Praat refers to this as a
"world". As long as you don't click on the Picture window workspace, you can make
additions to this world. But after you click on the workspace, which begins defining a
new world, you can no longer make changes to the world you were working with.
You can save a Praat picture that you want to come back and use later by clicking on
File > Write to Praat picture file. Later, you can read it back into the Picture
window by clicking on File > Read from Praat picture file.
You can put other things besides spectrograms into the Picture window.
(a) For a waveform: highlight a Sound object in the Objects window and click on the
Draw button in the right-side menu.
(b) For a spectral slice: highlight a Spectrum object in the Objects window and click on
the Draw button in the right-side menu.
(2)
ask you where to save the file. In MS Word, click on Insert > Picture > From
file and tell it where your file is. (Other word processors work similarly.)
(3)
Saving your picture as a PostScript file (you'll probably want to try the other options first)
Click on File > Write to EPS file. (EPS stands for Encapsulated
PostScript.) A dialogue box will open up; tell it what to call the file and where to
put it.
Once you have your EPS file, there are several things you can do with it. Here
are some examples.
(a) If you have Adobe Acrobat Writer (not the free Acrobat Reader, but the full
Writer), you can use the Distiller tool to make the EPS file into a PDF file.
Once you have the PDF file, you can print it with the Acrobat Writer software
or from any computer that has the free Acrobat Reader installed (available for
download at
http://www.adobe.com/products/acrobat/readstep2.html).
(b) If you have Ghostscript, you can open the EPS file with that (available for
download at http://www.cs.wisc.edu/~ghost/). Then print from inside
Ghostscript, or, if your printer can't deal with PostScript files, use Ghostscript
to convert the EPS file into a PDF file and then print with Acrobat Reader as
above.