Automatically add a label at the start of each track

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
classic35mm
Posts: 10
Joined: Sat Sep 30, 2017 5:14 pm
Operating System: Windows 7

Automatically add a label at the start of each track

Post by classic35mm » Sat Jan 20, 2018 9:13 pm

I have imported 100 mp3 files into a new Audacity project. Each mp3 is imported as a separate track -- which is what I want. I can easily align the tracks end to end by Edit > Select > All followed by Tracks > Align Tracks > Align End to End.

Now I want to create a label track with labels coresponding to the start (or end) of each track.

One way to do this is by selecting a track (by clicking on its side bar, under its name) and then choosing Tracks > Add Label at Selection. But there are two problems with this method:
  • The label is a region label, not a point label. I would prefer point labels.
  • I have to select each track individually and then click Tracks > Add Label at Selection (or press Ctrl+B). This would be a lot of work for 100 tracks.
Is there any way to automatically add labels at the start of each and every track?

I am running Audacity 2.1.3 on Windows 7 Pro. Thanks for your help.
Last edited by steve on Mon Jan 22, 2018 1:29 pm, edited 1 time in total.
Reason: "List" tag added

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

Re: Automatically add a label at the start of each track

Post by steve » Mon Jan 22, 2018 1:31 pm

Can we take a step back.... Why do you want a point label at the start (or end) of each audio clip?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

classic35mm
Posts: 10
Joined: Sat Sep 30, 2017 5:14 pm
Operating System: Windows 7

Re: Automatically add a label at the start of each track

Post by classic35mm » Sat Jan 27, 2018 11:01 pm

Each of my 100 mp3 files is a segment of speech about 8 minutes long. The files have some overlap -- each file overlaps with the next one by about 10 seconds. This means that when I align the tracks end to end, there is some redundant content (speech content, not music). I will need to clip the beginning (or end) of each track to remove the redundant content. In other words, I'm trying to recreate an original, of which I only have (overlapping) segments.

The overlaps/redundant parts are each only approximately 10 seconds long -- some are more like 8 seconds, some are more like 12 seconds. This means that I will have to manually listen to the end of one track and the beginning of the next to determine how much to clip from each end to remove all the overlaps. As far as I can tell, there is not yet a way to automatically find overlaps in audacity (see http://forum.audacityteam.org/viewtopic ... 28&t=58628 and http://wiki.audacityteam.org/wiki/Proposal_Audio_Diff)... not that I'm complaining... I'm sure this would be extremely time consuming to implement! (And I'm not a programmer so I can't help with it!)

So I will need to manually remove the redundant parts, which is fine. But to do so, I would like to be able to quickly "seek" (i.e., move the selection cursor) to the start (or end) of the track, since working with 100 tracks in one project may be unwieldly. It seems that an easy way to do this would be to double-click a label in a label track. Thus I think having a point label at the start (or end) of each track would be helpful. Does that make sense?

I'm a novice, so thank you for being patient with me.

Post Reply