Professional Documents
Culture Documents
Script Plot F1 and F2 To Draw Acoustic Acoustic Vowel Space Chart
Script Plot F1 and F2 To Draw Acoustic Acoustic Vowel Space Chart
Script Plot F1 and F2 To Draw Acoustic Acoustic Vowel Space Chart
#
# This script is distributed under the GNU General Public License.
# Copyright Mietta Lennes 5.11.2004
#
if clear_Picture_window_first = 1
Erase all
endif
Black
Times
Line width... 1
Font size... 16
Line width... 3
'colour$'
'line_style$'
Draw ellipse... -f2high -f2low -f1high -f1low
Paint ellipse... White -f2high -f2low -f1high -f1low
Black
Plain line
Text... -f2bark Centre -f1bark Half 'vowel_label$'
#------
if garnish = 1
Text top... no Bark
Text right... no Bark
endif
if garnish = 1
One mark left... -f1max_Bark no no no 'f1max:0'
One mark left... -f1min_Bark no no no 'f1min:0'
One mark bottom... -f2max_Bark no no no 'f2max:0'
One mark bottom... -f2min_Bark no no no 'f2min:0'
endif
for x to f2scale
f2value = hertzToBark (f2min + (x * 100))
if (f2min + (x * 100) = 1000 or f2min + (x * 100) = 2000) and garnish = 1
mark = f2min + (x * 100)
mark$ = "'mark:0'"
else
mark$ = ""
endif
One mark bottom... -f2value no yes no 'mark$'
endfor
for y to f1scale
f1value = hertzToBark (f1min + (y * 100))
if (f1min + (y * 100) = 500 or f1min + (y * 100) = 1000) and garnish = 1
mark = f1min + (y * 100)
mark$ = "'mark:0'"
else
mark$ = ""
endif
One mark left... -f1value no yes no 'mark$'
endfor
endproc