Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » Changing the praat command

Changing the praat command

Up one level

Changing the praat command

Posted by caroline at 2009-09-04 11:40  

Hi


Of course sound on linux can never be easy...


The only way for me to get praat to play sound on jaunty is to feed it though padsp, so my bashrc has alias praat='padsp praat'. This works fine, but it seems like when Elan calls Praat, it doesn't use that. Is there any way I can manually change the call to praat, or failing that, could Elan look at the shell environment and use whatever call to praat is there as its first preference?


Thanks,


Caroline

Re: Changing the praat command

Posted by hasloe at 2009-09-22 23:37  

At this moment the ELAN user is promted to locate Praat the first time she/he calls it from within ELAN. So, ELAN does not rely on Praat being found in the path/environment. The absolute path to the Praat executable is stored in a preference file, "praat.pfs". This is still a binary file but will likely be an XML file in the future. It might then be possible to edit the file such that the environment setting is used. (A space character in the changed command might be problematic though).

-Han

 

Powered by Plone

This site conforms to the following standards: