victor.feinman@gmail.com [praat-users]
2016-06-15 14:28:58 UTC
Hello I'm trying to extract some information using a Praat script, I need the following information:
Average Fundamental Frequency
Standard Deviation of F0
Jitter%
Shimmer%
Noise to Harmonic Ratio
CPP
CPP Standard Deviation Mean
CPP F0 Mean
CPP Standard Deviation of F0 Seconds
I believe I have F0, Jitter, and Shimmer, thought I'm not too sure how to script the rest of the metrics. Could you help me with a script for this. I have this so far:
Read from file: "C:\work\temp\24_77_7_05-20-2016_15-08-20.wav"
startTime = Get start time
endTime = Get end time
To Pitch... 0.05 75 600
##http://www.fon.hum.uva.nl/praat/manual/Scripting_4_3__Querying_objects.html
f0 = Get quantile: 0, 0, 0.50, "Hertz"
writeInfoLine: "f0: 'f0'"
##voiceReport$ = Voice report: 0, 0, 75, 500, 1.3, 1.6, 0.03, 0.45
voiceReport$ = Voice report: 0, 0
jitter = extractNumber (voiceReport$, "Jitter (local): ")
shimmer = extractNumber (voiceReport$, "Shimmer (local): ")
appendInfoLine: "Jitter = ", percent$ (jitter, 3), ", shimmer = ", percent$ (shimmer, 3)
Average Fundamental Frequency
Standard Deviation of F0
Jitter%
Shimmer%
Noise to Harmonic Ratio
CPP
CPP Standard Deviation Mean
CPP F0 Mean
CPP Standard Deviation of F0 Seconds
I believe I have F0, Jitter, and Shimmer, thought I'm not too sure how to script the rest of the metrics. Could you help me with a script for this. I have this so far:
Read from file: "C:\work\temp\24_77_7_05-20-2016_15-08-20.wav"
startTime = Get start time
endTime = Get end time
To Pitch... 0.05 75 600
##http://www.fon.hum.uva.nl/praat/manual/Scripting_4_3__Querying_objects.html
f0 = Get quantile: 0, 0, 0.50, "Hertz"
writeInfoLine: "f0: 'f0'"
##voiceReport$ = Voice report: 0, 0, 75, 500, 1.3, 1.6, 0.03, 0.45
voiceReport$ = Voice report: 0, 0
jitter = extractNumber (voiceReport$, "Jitter (local): ")
shimmer = extractNumber (voiceReport$, "Shimmer (local): ")
appendInfoLine: "Jitter = ", percent$ (jitter, 3), ", shimmer = ", percent$ (shimmer, 3)