Hi,
I believe that I can write the code for you. I have a long experience in working with signal processing in Matlab and have also published a speech signal annalysis package for python, which you can find at [login to view URL]
So, if you're interested, please contact me.
Best regards,
Bernardo J. B. Schmitt