more on pitch in ELAN
Up one level
more on pitch in ELAN
Hi,
I would be grateful to know the details of importing pitch curves from Praat into ELAN. What are the steps to do in Praat and then in ELAN. I'm just new to ELAN and Praat.
Thank you!
Re: more on pitch in ELAN
Hi again,
While the steps used by the Avatech TagVowels detector are more sophisticated,
involving a Praat script, you can already get some pitch information into ELAN
with a few clicks as well. Here is a step by step example:
- in Praat, use Periodicity / To Pitch to get a set of candidates
- use To Pitch Tier to have only one curve
- "write" the pitch tier as "headerless spreadsheet file" and give
the file a name with extension .csv It will have two tab-separated
columns, one for time and one for pitch, unvoiced timespans skipped.
- in Elan, use "edit linked files" to add the CSV file as a secondary file
- a mostly empty panel for a curve will show up. Right-click that and
select the configure tracks context menu item...
- uncheck the "continuous rate" checkbox
- add a new track for the 2nd column, give it a name (pitch) and unit
(Hz) and either select to calculate the range from the data or give
the track a suitable frequency range for display purposes. You can
also add tracks for derivatives of tracks!
- derivatives can be e.g. speed of pitch change (1st) or acceleration
of speed of pitch change (2nd) and so on.
Note that the track properties are not stored in your EAF file itself
but in a PFSX file in the same directory. Also note that ELAN seems to
interpolate over areas where no pitch information is given, instead of
explicitly displaying those as "unvoiced". I do not know how this can
be avoided directly in ELAN or Praat. My own Praat script based method
interpolates the pitch to have one value for every 0.01 seconds with
explicit "undefined" pitch for all unvoiced moments in time. Of course
this is more complicated to set up. On the other hand, once you have a
working script, it is actually relatively easy to use again and again.
Regards, Eric