Category Archives: Praat Scripts

PraatDocExtractor

This program will extract documentation strings in a Praat script and write them to a Markdown file, in the fashion of Doxygen, Roxygen, and Javadoc. In particular, the commenting style is inspired by Roxgygen’s, as Praat comments already use the octothorpe to denote comments.

For the sake of convenience, there are two implementations, one in Python 3, and the other the Praat scripting language.

The GitLab repository is available at https://gitlab.com/maetshju/PraatDocExtractor.

Praat Force-Aligned Word Presenter

Developed for use in pre-processing stimuli for experiments, this Praat script will present all WAV and TextGrid pairs in a directory that have been passed through a forced aligner tool. This allows a user to more quickly and regularly check the alignment of their files, and stores the results of the alignment in a file as well for later reference.

This script is licensed under version 2 of the GNU General Public License.

Item Extractor

This is a script that extracts items coded on an interval tier. It extracts labeled items in the tier and saves them as a WAV file with the label as the file name.

  1. To run this script, open the textgrid and sound file in Praat.
  2. Then, highlight the relevant textgrid and soundfile.
  3. Go to the File menu and choose Open script… You will get a dialogue box with the script in it.
  4. Specify the tier number where you have labeled your items.
  5. Specify the name of the file (the script will save the output file in the same directory as the script).
  6. Press ok and the script should do the rest of the work.
  7. All of the new sound files will be saved in the same directory as the script.

Download