Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge/combine label tracks #6034

Open
eharris opened this issue Feb 25, 2024 · 4 comments
Open

Merge/combine label tracks #6034

eharris opened this issue Feb 25, 2024 · 4 comments
Labels
Enhancement Request Or feature requests. Open-ended requests are better suited for discussions. Labels minor feature low impact feature

Comments

@eharris
Copy link

eharris commented Feb 25, 2024

Your idea

Provide a way to merge/combine Label tracks within Audacity.

Problem to be solved

I often use Analyze -> Label Sounds to detect cut points within an audio track.
However, Label Sounds refuses to work if the selection is too long (an error is shown: Selection must be less than 13h 31m 35s)
To work around this, I select segments less than 13.5 hours and apply Label Sounds to each segment. Unfortunately this creates new label tracks rather than adding new labels into the the existing label track.
Multiple label tracks might be ok (although annoying), except that File -> Export -> Export Multiple -> Split files based on: Labels only seems to use the first label track.
So, I would like an easy way to merge these multiple label tracks into one, without having to export and then re-import them.

Prior art

No response

Additional context

My workaround is currently to select all label tracks, export labels, delete all label tracks, and then import labels. But this is rather tedious and it would be great to just be able to merge the label tracks within Audacity.

I found this topic on the forum, but the last comment doesn't seem to work as it's for a much older version of Audacity:
https://forum.audacityteam.org/t/merging-label-tracks/33178/2

Alternate improvements that would help resolve this issue:

  1. Fix Label Sounds to allow selections longer than 13.5 hours
  2. Improve Label Sounds to allow either creating a new Label track or adding the labels to an existing Label track
  3. Add some way to cut/copy/paste a group of labels between label tracks as there seemed to be in that older version of Audacity (from the above forum post link).
@eharris eharris added the Enhancement Request Or feature requests. Open-ended requests are better suited for discussions. label Feb 25, 2024
@petersampsonaudacity
Copy link

See: Allow Label Sounds to work on selections larger than 13.5 hours #6035

@petersampsonaudacity
Copy link

petersampsonaudacity commented Feb 25, 2024

@eharris
Yes, both those old workarounds no longer work in later Audacity versions

But try this

  1. Get some audio with a couple of label tracks
    image

  2. Click in on of the label tracks with your cursor

  3. File > Export Other > Export labels

  4. Observe: This now creates a TXT file (no longer XLS as it used to be).
    image

  5. Observe the TXT file is not time ordered (but that doesn't seem to matter)

  6. File > Import > Labels

  7. select the TXT file exported at step 3

  8. Hey Presto ...
    image

  9. then just delete the unwanted, un-merged, label tracks
    image

@petersampsonaudacity
Copy link

petersampsonaudacity commented Feb 25, 2024

  1. The Export labels command only operates if there is a cursor position or selection in at least one label track in the project

  2. Export labels appears to export ALL labels from ALL tracks regardless of what selection is made in a label track or label tracks.

@LWinterberg @dozzzzer
Are both of these (especially 2) desired behaviors?
If not should we be raising a bug (or bugs) for this?

UPDATE

We already have this bug logged (from two and a half years ago) for the no. 2 use case
Export Labels cannot export selected label tracks or selections within label tracks #1552

@eharris
Copy link
Author

eharris commented Feb 25, 2024

@petersampsonaudacity yes, I am already using export/import of labels to work around this issue (as noted in the OP)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Request Or feature requests. Open-ended requests are better suited for discussions. Labels minor feature low impact feature
Projects
Status: timeline: eventually
Development

No branches or pull requests

3 participants