Page 3 of 3
Re: Edit > Labelled Regions
Posted: Tue Nov 20, 2012 9:42 am
by steve
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.
Re: Edit > Labelled Regions
Posted: Tue Nov 20, 2012 12:11 pm
by steve
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 (18.39 KiB) Viewed 1893 times
Re: Edit > Labelled Regions
Posted: Wed Nov 21, 2012 8:25 pm
by steve
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 )
Re: Edit > Labelled Regions
Posted: Wed Dec 26, 2012 3:25 pm
by waxcylinder
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
Re: Edit > Labelled Regions
Posted: Wed Dec 26, 2012 3:30 pm
by steve
Topic moved to the archive as it has mostly been implemented for Audacity 2.0.3