Gale Andrews wrote:What behaviour do we want for each Labeled Regions action when there are overlapping regions?
I think that it's worth looking at the behaviour for all three cases, separate regions, touching regions and overlapping regions.
Cut
The current behaviour is that each region is cut from the audio track(s) and copied to the clip board.
There are no split lines.
When pasted to new track(s), touching and overlapping regions are pasted as single audio clips (merged). Separate regions are pasted as separate audio clips.
I think this is the expected behaviour.
Delete
As for "Cut" but the audio is not copied to the clipboard.
I think this is the expected behaviour.
Split Cut
Audio within labelled regions is cut, leaving white space. With respect to the copied audio, the behaviour appears to be identical to "Cut".
I don't think that this is the correct behaviour in the case of labels that touch or overlap as the copied audio is not "split".
Split Delete
This behaviour is similar to "Delete" except that white space remains where the audio has been deleted.
I think this is the expected behaviour.
Silence Audio
All labelled regions become silence. There are no splits.
I think this is the expected behaviour.
Copy
All labelled regions are copied. Joining or overlapping regions are treated as one audio clip. There are no splits.
I think this is the expected behaviour.
Split
Separate regions are split at the end of each region. Joining regions are treated as one region.
This is the behaviour that I think is least expected and limits the usefulness of this feature.
I think that there needs to be
some way to split each labelled region even if they are touching (several user cases already provided).
Join
This one is a bit peculiar. I'm not sure what the "correct" behaviour should be.
Currently:
- Splits and white space are joined if they are entirely "within" (bounded by) one labelled region or multiple labelled regions that touch or overlap.
- White space is not rendered to silence if it is only partly bound by a region (this probably makes sense as there is nothing within the labelled region for it to "join" to.
- Split lines that occur exactly on the end of a separate labelled region are not joined, which is perhaps surprising as...
- Split lines that occur exactly on the end of a labelled region are joined IF that boundary is shared by another region.
- Split lines that occur exactly on the end of a labelled region are joined if they are bound by an overlapping region.
The number of bullet points that are required to fully define the "Join" behaviour is arguably indicative of inconsistency within labelled region behaviours.
It is probably easiest to see the behaviour with a before and after example:

- Before and After "Join"
- tracks001.png (18.99 KiB) Viewed 2663 times
Detach at Silence
Any (non-white space) totally silent audio that lies within one or more labelled regions is converted to white space.
There is a marked contrast with "Join" in that the silent audio does not need to be entirely bound by the label but I think this "inconsistency" is because of the slightly strange behaviour of "Join" rather than a problem with "Detach".
I think this is the expected behaviour.
Summary.
The main problem issues in my opinion are the behaviours that involve "Split".
I think the lack of clarity about "Split" and "Split Cut" then has a spill-over effect that makes the behaviour of "Join" confusing.
Proposal for "improved" behaviours to follow.