ES 25 Final Project by Olivia Phillips

Main menu

Praat Script

The following is the Praat Script that I used to extract formants. This comes mostly from code bye Joey Stanley, cited in the citations, though I did add a feature to extract pitch and also to take the mean of a time interval rather than a midpoint for the formants.

writeInfoLine: "Extracting formants..."# Extract the names of the Praat objects

thisSound$ = selected$("Sound")

thisTextGrid$ = selected$("TextGrid")# Extract the number of intervals in the phoneme tier