I've been working on Praat for some audio analysis stuff. However, I found some libraries that use Praat in Python and would like to do the same.
This site offers a lot of features that can be extracted when praat is used. I have followed he instructions for "integrating" it in python. http://homepage.univie.ac.at/christian.herbst//python/index.html However, I couldn't get it to work. It returns the error:\ OSError: [Errno 2] No such file or directory
I also found another library: https://pypi.python.org/pypi/python-praat-scripts. This also returns the error (when I run the code below): OSError: [Errno 13] Permission denied
from praatinterface import PraatLoader
pl = PraatLoader(praatpath ='/Users/user/Downloads/praat6015_mac64.dmg')
text = pl.run_script('formants.praat', 'sample.wav', 5, 5500)
formants = pl.read_praat_out(text)
It would be great if someone can help me integrate praat to python properly. Thanks.