Brief intro to Praat
Here are a few Praat Scripts that I have written. Praat scripting is fairly simple, and can really improve the praat experience in two ways:
- Make your workflow faster by automating repetitive tasks
- Make your results more consistent by automating tasks
Here a few tips to getting started with Praat scripting:
- In case you don’t already know, Praat is an acoustic analysis software
program. You can use it to view spectrograms of speech (and other) sounds,
and make many different acoustic measurements. It also includes some basic
statistics, and some routines to run basic perceptual experiments. It runs
on all major computer platforms, is free, and is fairly small in size. You
can download it from praat.org
- Praat has a pretty good manual, so be sure to read it, especially the
part on scripting. There is also a href='http://uk.groups.yahoo.com/group/praat-users/'>Praat users group,
where many of your questions can be answered. (Again, be sure you have read
the manual and searched around a bit before asking a question to the group).
- A good way to learn is by example, which is why I am providing some
- To try out these scripts, open Praat and select Open Praat
Script from the Praat menu.
- 3 more tips that I wish someone had told me:
- Variable names cannot start with capital letters.
- Whitespace matters. Sometimes a script will not work if you have a
space at the end of a line. Be careful!
- Praat has a history recording function. Every time you click your
mouse, or select something from a pulldown menu, the program is
recording this and saving it. You can then paste this history into a
script using the script editor’s Edit > Paste History
These scripts are provided without warranty. I have tried to insert comments where appropriate, so hopefully they should be relatively easy to use. If you find any mistakes or bugs, or if you make any improvements, I would very much like to know. Please contact me at robfelty æ umich.edu