Resources

The PN/NC corpus

You can download the PN/NC corpus from this page.

Tutorials

How to use the recording booth

How to reserve equipment

How to use the field kits
(coming soon)

How to use the audiometer

Setting up TextGrids in Praat

Measuring VOT in Praat
(coming soon)

Measuring vowel duration in Praat
(coming soon)

Measuring pitch in Praat
(coming soon)

Measuring fricatives in Praat
(coming soon)

Praat Scripts

Semi-auto pitch analysis. This reasonably well-commented script by Dan McCloy cycles through a directory of TextGrids, finds matching sound files in a specified folder, and displays each in sequence, automatically placing the cursor at the midpoint of labelled intervals and prompting the user to accept, modify, or override the pitch measurement. Measurements are written to a tab-delimited file.

Semi-auto formant analysis. This script by August McGrath & Dan McCloy is the formant-oriented version of the pitch extractor above. It cycles through a directory of TextGrids, finds matching sound files in a specified folder, and displays each in sequence, automatically showing a table of F1,F2,F3 values at specified time points through the interval, and prompting the user to accept the values, modify formant settings, or mark for hand-measurement. Measurements are written to a tab-delimited file.

This script cycles through a directory of sound files and matching text grids and extracts the duration and midpoint f0, F1, and F2 of every TextGrid interval that has a label, and writes it all to a tab-delimited file. It is a modification of one of Mietta Lennes's scripts.

This script by Stella Podgornik: stellap[AT uw DOT edu] is similar to the previous one but is optimized for command-line interface. It extracts pitch, duration, and F1-2-3 at 20-50-80% of each labeled interval of a specified tier, writing them all to a tab-delimited text file. It can be batch-run over multiple wav/textgrid pairs residing within specified folders. It is a modification of a Mietta Lennes script.

More coming soon. If you don't see a script here that will meet your needs, check Mietta Lennes's page, the UCLA Praat scripts page, Hugo Quené's page, or the praat-tools codebase maintained by the Speech Prosody Studies Group.

MATLAB Scripts

Here is a MATLAB function for RMS levelling WAV files, written by Dan McCloy. It will either RMS level a set of files to the maximum possible level without causing clipping, or alternatively, you can pass it a target file with a desired RMS and it will match the new files to the target file. Note that it depends on another MATLAB function cell2csv.m (from the MATLAB exchange website).

Here is a general-purpose lookup script for text documents. Takes an input text file of one item per line, and a lookup table of two items per line. Handy for output files that are randomized by subject, where you want to convert, e.g., stimulus numbers to actual stimulus text, while maintaining the randomization order through the conversion.

We are currently developing MATLAB scripts for basic pure-tone hearing screenings and for perception tests. Check back soon.

R Code

The basics: loading and manipulating data
Hugo Quené has a nice PDF tutorial here. It starts with the basics but also covers many popular analysis techniques.

Plotting a vowel space with unicode labels
If you already know the basics and just want to make beautiful vowel plot graphs, install the phonR package (written by Dan McCloy). There is also a brief tutorial on how to use phonR.

A helpful tutorial by Sharon Hargus (with well-commented code) is available in this PDF, but to run the code yourself you will also need these four text files that contain the source data: one two three four.

A similar tutorial by Dan McCloy & Gus McGrath is linked here, and comes with sample data from James Hillenbrand. In addition to plotting unicode labels, this tutorial has code for plotting 95% confidence ellipses around each vowel, changing fonts, and plotting to both onscreen windows and plotting direct-to-file. Includes platform-specific instructions for Linux, Mac, and Windows.

Fitting linear mixed effects models
This tutorial (by Dan McCloy) covers basic OLS regression and linear mixed models. It is thorough in what it covers, but doesn't begin to cover everything there is to know about fitting mixed models in R. It comes with sample data from the PHOIBLE knowledge base, courtesy of Steve Moran.

Graph tips and tricks: color, labels, axes, etc.
A great resource on R graphical parameters is QuickR. The McCloy/McGrath vowel plotting tutorial above also includes some good graphical techniques.

Other Resources

Word list presentation
This is a simple Flash application that reads in a word- or sentence-list in XML format and displays items onscreen one at a time, randomized by block, including padding words at beginning and end and distractor items interspersed throughout. Fontsize and repetitions can be specified in the XML file. Further information is available in the comments section of the provided XML file. Seems to work best when XML and SWF are in the same directory. Written by Dan McCloy: drmccloy[AT uw DOT edu].

Illustrator Template for Poster Presentations
This is the Illustrator file that was used in the "how to make a poster" tutorials during Spring quarter 2011. Here is a PDF that walks through some of the guidelines, tips & tricks to using Illustrator for posters.