Importing labels

This section is now closed
Forum rules
Audacity 1.2.x is now obsolete. Please use the current Audacity 2.1.x version.

Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
Locked
Giles
Posts: 1
Joined: Fri Feb 08, 2008 8:32 am
Operating System: Please select

Importing labels

Post by Giles » Fri Feb 08, 2008 8:42 am

Automatic labelling would be handy and it looks like it should be there somewhere. Under the Project menu, there is a command to import labels from a text file. I did this, but where did they go? I have not discovered how to get them to be visible, or to export with the tracks they name.

I am using Audacity v 1.2.6 wiht Mac OSX 1.3.9 on a Power PC G4, if any of these are relevant.

Any suggestions?

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Importing labels

Post by steve » Mon Feb 11, 2008 10:35 pm

The text file with labels needs to be in this format:

number (tab) number (tab) label name

the first number is the start point for the label (in seconds
the second number is the end point for the label
the "label name" is.... you've guessed it, it's the name of the label
Each item in the list is separated from the previous one by a tab (press the "Tab key")
Each label should be on its own line

Example 1
To set a label called "start" at the begining and another label called "middle" at the 10 second point your text file would look like this:

Code: Select all

0	0	start
10	10	middle
Example 2
To label a section that starts at time=0 and ends at time=32.4032 seconds as "track 1"
and label a second section that starts at 2 minutes 40.006812 seconds and ends at 3 minutes as "track 2"
the text file would look like this:

Code: Select all

0	32.4032	track 1
160.006812	180	track 2
Try Exporting some labels and have a look at the text file that is produced.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked