Here is a Praat script written some years ago turns speech into 3 modulated sine waves at frequencies of first three formants. It may need tweaking to run under recent versions of Praat.
Here are a some scripts that do various jobs that I found useful:
Back to Chris Darwin's Home Page