Re: Re: open praat in elan: LongSound file
Up one level
Re: Re: open praat in elan: LongSound file
Is this on Windows? It is possible that the script file is in another directory when there are whitespaces in the absolute path to the ELAN data directory. In that case the Praat script file should be in the systems "temp" directory. Most likely something like "C:\tmp" or "C:\temp".
I can send you the Praat script, but it is of no use if ELAN cannot find it in the location it expects.
-Han
Re: Re: Re: open praat in elan: LongSound file
Dear Han,<br>I'm working with video and sound-files which have an offset one to another. When I use "open selection in Praat", the program opens fine, but it forgets to add the offset and the selection that I see in Praat is exactly that amount of time too early that I have added in the offset during the synchronisation of video and audio. When I add the offset to the selection in Praat I end up at the selection I wanted to have originally. As this is tiring to do with many selections I had a search on the forum here. I thought of changing the "openpraat-v2" script, to add the offset in the line of the selection: Select... 'starttime' 'endtime'. But similar to the User who had initiated this topic, I cannot find the script. Neither in .elan_data nore in C:\Windows\Temp nore elsewhere (I have no C:\tmp or C:\temp; even the search option for "openpraat" doesn't find anything.). My ELAN is in C:\Program Files\ELAN 3.7.2\ so the path contains whitespaces. I copied the ELAN folder to C:\ and renamed the folder itself so it doesn't contain any whitespace. Running ELAN from there and choosing a selection still does not create a openpraat-script.<br>I would be very greatful if you could point me to a solution to one or both of the problems described: 1) missing offset 2) help me find the "openpraat" script for a workaround.<br>Best wishes,<br>Jan<br>
Re: Re: Re: Re: open praat in elan: LongSound file
Hello again,<br>I found the openpraat.praat script in the following location: C:\Document and Settings\(username)\Local Settings\Temp . This is written in the Environment Variables ("TMP" and "TEMP"). The way I found it is: riht click on "My Computer" in the start menue; then "properties"; select the tab "Advanced"; then "Environment Variables".<br>It would be nice if the offset would be considered from the start though.<br>Kind regards,<br>Jan<br>