#set speaker, vowel and n_formants for each analysis
#make sure cursor is at an appropriate position before running the script
speaker$="PH"
vowel$="@"
n_formants=4

##################################

Formant settings... 5000 'n_formants' 0.1 30 1

b1 = Get first bandwidth
b2 = Get second bandwidth
b3 = Get third bandwidth

f1 = Get first formant
f2 = Get second formant
f3 = Get third formant
f1=round(f1)
f2=round(f2)
f3=round(f3)
b1=round(b1)
b2=round(b2)
b3=round(b3)

mysettings$="Speaker: 'speaker$'. Vowel: 'vowel$'. n_form.: 'n_formants'. F1-3: "

printline 'mysettings$' 'f1''tab$''f2''tab$''f3' BW1-3: 'b1''tab$''b2''tab$''b3'


