-
Notifications
You must be signed in to change notification settings - Fork 0
/
purr2004.praat
31 lines (31 loc) · 1.46 KB
/
purr2004.praat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# PRAAT SCRIPT: PURR2004 1.0
# (Petra Wagner, 2004)
#
# This script delexicalises speech files based on the PURR philosophy described in
# Sonntag, Gerit (1998). Evaluation von Prosodie. Shaker Verlag: Aachen. This means
# that both amplitude AND fundamental frequency information is kept intact in the
# delexicalised signal. Also, unlike some other methods, no artificial "vowel"
# is imitated by simply introducing a "formant" around the area of the second harmonic
# Usage: select a Sound object you want to delexicalise and run script.
sound$ = selected$ ("Sound")
sound = selected ("Sound")
intensity = To Intensity... 100 0
select sound
pitch = To Pitch... 0 75 500
meanPitch = Get mean... 0 0 Hertz
doublePitch = meanPitch * 2
hum = To Sound (hum)
select intensity
intensityTier = Down to IntensityTier
plus hum
hum_int = Multiply
hum_filt = Filter (one formant)... doublePitch doublePitch/2
Rename... 'sound$'purr
select intensity
plus pitch
plus hum
plus intensityTier
plus hum_int
Remove
select hum_filt