getting sendpraat to work on Mac
Up one level
getting sendpraat to work on Mac
Hi, I am trying to get Praat and Elan connected on a recent mac (10.6.4, snow leopard). I have downloaded the sendpraat executable called sendpraat_intel. and put it into the same folder as Praat. But when Elan asks for the sendpraat executable and I choose the file sendpraat_intel. the program simply asks for the same thing again - it doesn't seem to recognise the executable file.
Is there something I need to do with the executable file to open it or run it? Or is it ready as it is (never had a program file with a name that ended in a full stop, but who knows...)
Or should I try Claire Bowern's compilation of sendpraat? http://anggarrgoon.wordpress.com/?s=sendpraat
Maybe the next version of Elan could include a built-in sendpraat? Add it to the wishlist perhaps?
Re: getting sendpraat to work on Mac
I am having exactly the same problem on a 10.5.8 Mac....
Re: Re: getting sendpraat to work on Mac
When a file has been downloaded or copied from somewhere the file permission sometimes get lost. As a result "sendpraat" is no longer "executable". To check if this is the case and to change this one can try the following:
- open a Terminal window (/Applications/Utilities/Terminal)
- type "cd " (without the quotes) and in the Finder drag the folder in which sendpraat resides into the terminal window. The path to the folder is copied, press enter with the Terminal window active.
- type "ls -l sendpraat" (without the quotes) and press enter
- if the first part of the output (e.g. -rw-r--r--@) does not contain any "x" characters typ "chmod 557 sendpraat" (without the quotes) and press enter. Check with "ls- l" whether the file is now indeed executable.
-Han
Re: Re: Re: getting sendpraat to work on Mac
- if the first part of the output (e.g. -rw-r--r--@) does not contain any "x" characters typ "chmod 557 sendpraat" (without the quotes) and press enter. Check with "ls- l" whether the file is now indeed executable.
Re: Re: Re: Re: getting sendpraat to work on Mac
The explanation at http://www.fon.hum.uva.nl/praat/sendpraat.html does not really help me, unfortunately. I simply do not understand what it means to "use it as a subroutine in your own C programs" or how to use sendpraat from the MacOS X command line or how to compile it myself. I tried this "chmod 777 sendpraat" with the terminal (as well as the other other versions around). Finder lists Sendpraat as an "Unix executable" now, but it
is still not running with the right mouse click from ELAN. What I noted is that the downloaded sendpraat script file is
not encoded in UTF-8. Should it be this way? What else could be wrong? I
appreciate your help.<br><br>Michael (OSX 10.7.3, Praat 5.1.26, ELAN 4.2.0)<br>