Extract by-interval mean formants in Praat

On this page I present a Praat script that extracts by-interval mean formants.

Step 1: Preparation

Download the Praat script (or see full script at the end of this page).

Gather your sound files and your .Textgrid files in the same folder. The .Textgrid files should have the same name as the sound files. The .Textgrid files should contain at least one interval tier, based on which mean formants should be extracted. Each interval for which mean formants are needed should have a non-empty name.

praat1

Step 2: Run the script

Download and open Praat.

Select Praat - Open Praat script…, and select the file get_formants.

If on Mac OS, replace the “" in line 28 with “/”.

Select Run - Run. You will be presented with a user interface, where you can specify a number of variables.

praat2

Edit if needed, then select OK. You will be given a chance to choose a folder. All files with your defined extension and .Textgrid files with the same names will be processed. A .csv file will be created, which contains the following:

csv

The file selection procedure used in this script is from Scott Seyfarth annotation.Praat.

Back to Top ↑