Export option - time sampling

Hi,

I have a question about the export options of ELAN.

So far, I have always used the function “Export as tab-delimited text” with the options shown in the

.

For the output, however, I would need a fixed time interval (e.g. 3s):

00:00:00 - 00:00:03 -> Annotation of Tier A, B, X

00:00:03 - 00:00:06 -> Annotation of Tier A, X

00:00:06 - 00:00:09 -> Annotation of Tier B, X, Y

The reason for this approach is the required use of the time sampling method.

Do you have a suggestion on how to implement this?

I am looking forward to your reply.

Thanks a lot.

Hi,

There’s not a dedicated function for that. You could try the following procedure to see if the outcome is of any use to you:
Create a new tier, say “Sampling”, then select Tier->Create Regular Annotations, select the Sampling tier, set Start time to 0 and end time to more or less the end time of the media file, set Annotation Size to 3 sec.
This should create a sequence of annotations of 3 seconds each. Save the file.
Then select File->Export Multiple Files As->Annotation overlaps information. (Only available for multiple files.) Select the Sampling tier as the Reference tier and A, B, X, and Y as the tiers to compare with the reference tier. This will export all annotations of the Sampling tier, so the time intervals as in your post. Along with that many columns will be exported for the comparing tiers (see manual), most of them you don’t need and can be deleted in a spreadsheet application.

These are quite a few steps, so it depends on the number of files and annotations you have whether this is worth the effort. (If the number is low, you could also create the Sampling tier as described and then use the tab export you usually use and manually delete all rows where begin and end time are not a multiple of 3, or where duration is < 3.)

-Han

1 Like