Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » open praat in elan: LongSound file » Re: open praat in elan: LongSound file

Re: open praat in elan: LongSound file

Up one level

Re: open praat in elan: LongSound file

Posted by hasloe at 2010-01-15 23:18  

The first time this function is used in ELAN a Praat script named "openpraat-v2.praat" is created in a special ELAN data directory: <user_home>\.elan_data (Windows and Linux), <user_home>/Library/Preferences/ELAN (Mac).
You could change the behavior of the "open selection in Praat" function by editing this praat script. E.g. in the script there is a line:

Open long sound file... 'filepath$'

you could change this to:

Read from file... 'filepath$'

and adapt the rest of the file to something like this:

s = start / 1000
en = end / 1000
Edit
editor Sound 'filename$'
Select... 's' 'en'
Zoom to selection
endeditor

depending on what you want/need.
I'm not a Praat scripting specialist, so please consult the Praat manual for all the options.

-Han

Re: Re: open praat in elan: LongSound file

Posted by ast80 at 2010-01-19 11:48  

Thank you very much for you answer! I'll try...

 

Powered by Plone

This site conforms to the following standards: