What's on this page?

This page contains two sections, one with praat scripts and one with stimuli.
Click here to jump down to stimulus section

Useful Praat Code

This part contains Praat-scripts generated or adapted by MPI members,which are free to use.
Note:

  • Some of this scripts will automatically save and possibly overwrite files.
  • These scripts work under PRAAT 4.2 and upgrade compatability should not be a problem.
  • If scripts fail to work. please contact: holger (dot) mitterer at um (dot) eut (dot) mt
  • Use these scripts as bricks: some of them will do only rather limited work, but become more powerful if applied to whole directories. How to apply scripts to whole directories rather than single sounds is laid out in the first scripts in the third category.

Scripts for annotations to speech files

Generate annotations for multiple files    ##
Review annotations for multiple files    ##
AUTHOR'S CHOICE: annotate or review, tests whether a TextGrid exists. ##
    If so, it let's you review the original
    If not, it generates a new textgrid
Set all boundaries in the annotation to zero-crossings of the sound file ##
Write non-empty intervals to disc (useful for cutting recordings) ##

Scripts for working with annotated files:

Extract segments with a certain label from larger sound files  ##
Extract amplitude information from segmented files    ##
Extract amplitude information specficially for fricatives   ##

Convert an ELAN transcription to a PRAAT textGrid
                    zip file, containing Manual, Perl script, and Praat script      ##

Scripts for reviewing & manipulating sounds for experiments:

Reading all sounds from a directory and equalizising them in maximal amplitude    ##
Reading all sounds from a directory and equalizising them in acoustic energy ##
Reading all sounds from a directory and equalizising them to a given dB value ##
        (note that this dB value is NOT necessarily the dB value that participants in an experiment will hear)

Generating fade-in and fade-outs

linear
cosine-square

Generating continua

Generating a continua between two unvoiced speech sound (by sample-by-sample interpolation) ##
Generating a continua between two voiced speech sound (by sample-by-sample interpolation) using PSOLA to prevent the percept of two speech sounds ##

Other manipulations

Spectral rotation of the selected sound with adjustment of overall spectral##
Spectral rotation for all sounds in a directory
        + adjustment of overall spectral##
        + adjustment of amplitude contour ##
         (see this script for imposing the amplitude contour of one sound onto another sound)
Generating signal correlated noise ##
Intensity swapping: given sound A the intensity contour of sound ##
Generating gated stimuli ##
Compressing stimuli with a "sampling" technique  ##
Cross-splicing script with possible cross-fading ##
Saving all selected sounds in one directory ##

Stimuli