Vowel sounds are mainly produced by the first 2 to 3 vocal formants. By detecting these formants and running an algorithm, it is possible to match them with known vowels.
[ ] Implement the struct used to hold vocal formants and their associated vowel.
[ ] Write a function to determine the "distance" between two formant structs.
[ ] Write a function to sort the vowel structs by distance and that can select the vowel with the shortest distance.
[ ] Update the struct holding the unknown formants in-place to contain the vowel with the shortest distance.
Vowel sounds are mainly produced by the first 2 to 3 vocal formants. By detecting these formants and running an algorithm, it is possible to match them with known vowels.