convertStringToFormants function

Prepare a list of formants