[ardour-dev] layer patch

nick mainsbridge beatroot at optushome.com.au
Wed Jan 5 19:01:21 PST 2005

On Wed, 2005-01-05 at 20:19 -0600, Jan Depner wrote:
> On Wed, 2005-01-05 at 20:05, nick mainsbridge wrote:
> > this patch is really just a quick hack to demonstrate a layering
> > approach to editing.
> > whenever a region is moved or trimmed, the other regions on its'
> > playlist are 'shuffled' so that the later regions are higher. this makes
> > manipulating regions easier esp. wrt trimming.
> > 
>     Does this mean that - if I record a track, then cut and paste a
> small piece somewhere in the middle of it, then trim the end of the
> original piece, the pasted section will remain on top?  That one drives
> me crazy.  Apparently, at present, the last edited section is placed on
> top so the little pasted pieces (or punch in/out pieces) end up
> underneath.
> Jan

one idea behind it is indeed what you describe.
the main problem i see with the current 'user controls layers' approach
is that arranging some combination of regions at one end of a long take
can influence the arrangement at the other end, where the result isn't
guaranteed to be visible.
if people liked this approach, we could remove all manual control over
layering from the editor.

one possible modification to the new behaviour would be click without
movement raises the selection to the top (making it easier to access end
trim). actually you can try this.. it's commented out at around line
2656 in editor_mouse.cc.

again, sorry about the hackishness. i just realised that i didn't
include a 'tiebreaker' for when regions are in the same position. it's
meant to be the last created region that ends up on top.

nick mainsbridge <beatroot at optushome.com.au>
Beat-Route Media

More information about the Ardour-Dev mailing list