Edit > Labelled Regions

This read-only archive contains discussions from the Adding Feature forum.
New feature request may be posted to the Adding Feature forum.
Technical support is available via the Help forum.
steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Edit > Labelled Regions

Post by steve » Tue Nov 20, 2012 9:42 am

steve wrote:Another possible solution is that rather than introducing another menu option, introduce a simple rule:
All labelled regions are treated separately unless overlapping.
I've been testing this and it is far more versatile than the current implementation.
The required code change is trivial.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: Edit > Labelled Regions

Post by steve » Tue Nov 20, 2012 12:11 pm

steve wrote:Another possible solution is that rather than introducing another menu option, introduce a simple rule:
All labelled regions are treated separately unless overlapping.
To put it another way, overlapping regions are treated as one region.
For temporarily "tying" together multiple labels, overlapping labels can be added to a new label track.
I'm liking this solution - it is very versatile.
tracks005.png
tracks005.png (18.39 KiB) Viewed 1894 times
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: Edit > Labelled Regions

Post by steve » Wed Nov 21, 2012 8:25 pm

For anyone that builds Audacity from the source code, here is patch to implement: "All labelled regions are treated separately unless overlapping."
The code change is just Line 4157 of src/Project.cpp

- if( cur->start <= last->end )
+ if( cur->start < last->end )
Attachments
labelled-regions-split-2.patch
(445 Bytes) Downloaded 97 times
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

waxcylinder
Forum Staff
Posts: 14684
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: Edit > Labelled Regions

Post by waxcylinder » Wed Dec 26, 2012 3:25 pm

This is really another example of one that needs to be developed to a Proposal in the Wiki if it is to move forward at all.

Peter
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

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

Re: Edit > Labelled Regions

Post by steve » Wed Dec 26, 2012 3:30 pm

Topic moved to the archive as it has mostly been implemented for Audacity 2.0.3
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked