Automatic formant detection(half implemented)