32
Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Embed Size (px)

Citation preview

Page 1: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Speech analysis with Praat

Paul Trilsbeek

DoBeS training courseJune 2007

Page 2: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Sources used

• Sidney Wood’s “Praat beginners’ manual”

• Pascal van Lieshout’s “Praat short tutorial”

• Links for both on www.praat.org

Page 3: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Outline

• First half: theoretical overview– What is Praat– General Praat interface– Several kinds of analyses– Creating graphical output

• Second half: practice– Hands-on experience with some exercises

Page 4: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

What is Praat? (1)

• “Praat” = “speak” (Dutch)• “Doing phonetics by computer”• Analysis and reconstruction of speech

signals• Developed by 2 phoneticians from the

University of Amsterdam, Paul Boersma and David Weenink

Page 5: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

What is Praat? (2)

• Program running on most operating systems (Windows 95 to XP, Mac OS 9/X, Linux, several kinds of Unix …)

• Available for free from www.praat.org under GNU General Public License (inc. source code)

Page 6: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

General Praat interface

• Praat objects window– List of praat ‘objects’: sounds, analyzed

sounds, synthesized sounds …– Buttons for editing, viewing, applying

analyses, etc.

• Praat picture window– For creating and manipulating graphical

output

Page 7: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

General Praat interface

Page 8: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Getting help

• Praat help menu• Praat web site (same content)• 2 tutorials mentioned before (see

praat.org)• Praat discussion list

Page 9: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Recording a sound

Page 10: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Loading a sound

• Long vs. short sound file: memory• Extract part• Extract segments from annotated long

sound

Page 11: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Annotating a sound

• Create text annotations on different levels

• Praat objects can be created from segments

Page 12: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Annotating a sound

Page 13: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Praat Edit window

• Waveform display• Segment play buttons• Zoom buttons• Several other views of analyses

– Spectrogram– Pitch analysis– Intensity analysis– Formant analysis– Pulses

Page 14: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Praat Edit window

Page 15: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Spectral analysis

• Fourier theorem: “any given signal can be constructed by addition of an infinite number of sine waves with specific frequencies, amplitudes and phases”.

• Fourier analysis: “ finding out the frequencies, amplitudes and phases of these sine waves for a given signal”

Page 16: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Spectral analysis

Page 17: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Spectral analysis

Page 18: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Spectrogram

• Spectrum with a third dimension added: time.

Page 19: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Pitch analysis

• Shows fundamental frequency where one can be detected

• Not always correct, octave jumps often occur, depending on the quality of the signal. Can be corrected manually.

Page 20: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Pitch analysis

Page 21: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Intensity analysis

• Shows the intensity contour of a signal

Page 22: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Intensity analysis

Page 23: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Formant analysis

• Frequency bands with higher acoustic energy caused by resonances in the vocal tract, mouth and nose cavities

• Different vowels and fricative consonants have different formant structures

Page 24: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Formant analysis

Page 25: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Manipulation

• Add or delete pulses• Modify duration (timing)• Modify pitch contour

Page 26: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Manipulation

Page 27: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Picture window

• Clicking “draw” button will draw graphic into picture window

• Some modifications can be done in the picture window

• Text can be added

Page 28: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Picture window

Page 29: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Picture window

• Export picture as EPS (Encapsulated PostScript) for further use in media to be printed. Adobe Illustrator can be used to further edit the EPS file

• Export picture as Windows Meta File (Windows only) for media to be shown on screen (PowerPoint presentation)

Page 30: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Picture window

• EPS output:

Page 31: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Picture window

• WMF output:

Page 32: Speech analysis with Praat Paul Trilsbeek DoBeS training course June 2007

Exercises