Table 2. Formant settings based on speaker sex

selectObject: mySound
# Formant settings based on the speaker’s sex
if inFolder$ = "M"
 myFormant = To Formant (burg): 0.01, 5, 4500, 0.025, 50
 elsif inFolder$ = "F"
  myFormant = To Formant (burg): 0.01, 4, 5000, 0.025, 50
endif