parameterized maxFreq and formantCount