Hey
does anybody know why this Praat script has problems with the "unit" - it does
always fail and says that the Unit cannot have the name "semitones" and I also
tried "semitones", "semitones re 1 Hz" in capital letters "Semitones" and so
on....
I can not see my mistake:( Does anybody have an idea?
nSounds = numberOfSelected("Sound")
nTextGrids = numberOfSelected("TextGrid")
if nSounds != 1 or nTextGrids != 1
pause Please selct one Sound and one TextGrid
endif
mySound = selected("Sound")
myTextGrid = selected("TextGrid")
select mySound
myPitch = To Pitch... 0.01 75 600
myPitch = selected("Pitch")
select myPitch
min_f0 = Get minimum... 0 0 Semitones Re 1 Hz Parabolic
max_f0 = Get maximum... 0 0 Semitones Parabolic
mean_f0 = Get mean... 0 0 Semitones Parabolic
sd_f0 = Get standard deviation... 0.0 semitones parabolic
print 'min_f0' ''tab$' 'max_f0' 'tab$' 'meanf0' 'tab$' 'sd_f0'
printline