The goal of this first lab is to explore some of the basic features of PRAAT, which we will be using for speech analysis throughout the term. You will learn to make recordings, bring up visual displays of these recordings (waveforms and spectrograms), segment and label various components of these recordings, and export the visual displays into a word document.
The skills you learn today will be useful for your lab work throughout the remainder of this course and beyond…
Open Praat by double clicking on the following icon:
Get to know the Praat layout.
TIP:
The tools you see in the Analysis and Synthesis Tool Panel (see Figure 1.2 above) are specific to the highlighted object(s) in the list.For example, the tools that are listed for a sound object such as “name” or “Fargo_vowels” are different from that for a Textgrid object. When you first open Praat, there will be nothing in your object list. Therefore, nothing will show up in your Analysis and Synthesis Tool Panel.
Compare the waveform in these two cases. The one in the clipped recording has a square-like form, because the sound is “bursting out” of the maximum and minimum levels that can be plotted. The scale/zoom of the waveform will adjust such that it’s always fitting neatly within the confines of the window, so the highest and lowest portions of the waveform will be snug against the top and bottom of the waveform window. In a good recording, the waveform will be touching the top and bottom of the plot only once or twice.
When you first open a sound file in the View & Edit window, it may seem a bit of a mess. Depending on the default settings in the version of Praat you are using, you may see vertical lines in the waveform, and lines of red dots and a blue line in the spectrogram (see Figure 1.5). If you don’t need these displays for your current purposes (you don’t for this lab!), you can tidy up the visual display by doing the following:
In the menu of the View & Edit window:
Two things are being displayed now in the Edit window: the waveform on the upper level and the spectrogram on the lower level.
TIP:
Below are some common manipulations you will find useful.Selecting a portion of the sound file and measure the duration of the portion
- To select a portion of the sound file, place the cursor on the starting point on the waveform or spectrogram and drag the mouse over the portion you are interested in.
- The number in black at the top and bottom of the display indicates the duration of the selection. The two red numbers on each side of the selection (on the top only) indicate the starting and ending time of the selection (see Figure 1.6).
Zooming into a portion of the sound file
- To zoom into a specific portion of the sound file, select it first and click “sel” in the zoom options panel (see Figure 1.6).
- You can also use the “in” and “out” buttons in the zoom options panel to zoom in or zoom out within the sound file. This will zoom the file around the center point of the window display, regardless of where your cursor is.
Listening to a sound file
- In the View & Edit Window, you can listen to the sound file or a portion thereof by clicking on one of the panels at the bottom of the display (Figure 1.6).
Better settings for spectrogram readings
- Go to Spectrogram > Spectrogram settings
- Change the Dynamic range (dB) from its default setting of 70.0 to 50.0 - this helps to remove background noise and isolate the voice in the recording
Along with these, Praat supports various keyboard shortcuts to help streamline this process. Some of the shortcuts that may be useful for the purposes of this lab are:
- TAB - plays and pauses the recording
- Ctrl/Cmd + I - zoom in
- Ctrl/Cmd + O - zoom out
- Ctrl/Cmd + A - zoom out to full sound
- Ctrl/Cmd + 1 - create a boundary on tier 1 (or two boundaries, if a portion is selected)
- Ctrl/Cmd + 2 - create a boundary on tier 2 (the number can be changed to the number of the desired boundary)
5. Extract [first-name] [last-name]
6. Rename the extracted file (‘sound untitled’ in the Praat
objects window)
7. Save the new sound file on the desktop:
8. Create a textgrid: textgrids let you label
or annotate the spectrogram (and sound file) – they are particularly
helpful for acoustic analysis, to keep track of where you’ve taken
measurements, etc.
In order to segment and/or label a sound file, you have to open the sound file together with its textgrid file.
In your display you should now see the waveform (top), the
spectrogram (middle) and the textgrid (bottom) corresponding to your
sound file (see Figure 1.9). We will talk about waveforms and
spectrograms in detail later on.
In the sound file, identify your first name and last name. Use the following steps to segment each:
To remove a boundary you have made, do the following:
If you complete all of these steps, you should end up with a word file with an image of the labelled waveform/spectrogram corresponding to your name, as in Fig. 1.10. You can save this file, and your Praat files (sound and textgrid) by e-mailing them to yourself or copying them onto a flash drive (memory stick).
Your lab report should include one Figure, corresponding to the segmented and labeled spectrogram and waveform of your name.
On eClass, submit three files: 1) the .wav
file you created for this lab, 2) the .TextGrid file you created for
this lab, and 3) a PDF with your answers to the following questions as
well as the image of your labelled waveform and spectrogram as
exemplified in Fig. 1.10 above. Each student must complete and submit
this lab on their own.
Q1: How can you tell where one word ends and another word begins?
Q2: Do you notice any patterns in terms of how different sounds look visually, on either the waveform or the spectrogram?
Disclaimer: The original lab materials on which this lab is based were put together in 2015 (updated 2019) by Sonya Bird, Qian Wang, Sky Onosson, and Allison Benner for the LING 380 Acoustic Phonetics course at the University of Victoria. Their materials are released under a Creative Commons license (CC BY-NC-SA 4.0) which allows for non-commercial use as well as copying and distribution and the creation of derivative works for non-commercial purposes. Thomas Kettig (with assistance from Taylor Potter) has modified these materials as needed for the York University LING 4220 Acoustic Phonetics course.