Get audio file durations using Praat

On this page I share a Praat script that gets audio file durations from a directory containing audio files. The script outputs a .csv file.

Step 1: Preparation

Download the Praat script.

Step 2: Run the script

Open Praat and Select Praat - Open Praat script…, and select the get duration script.

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

Select Run - Run. You will be taken to a window where you can choose where your audio files are located.

After choosing the directory, Praat is going to look at all files with the provided extension, get the files’ durations, and create a output .csv file in the same folder. The output should look like this:

output

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

Back to Top ↑