detect_formants() function
add docstrings to dsp functions