[ardour-dev] [ardour-users] bug or stupidity ?

Dan Tepper dan at wintaper.com
Mon Jul 9 11:17:01 PDT 2007


> You would be wrong in thinking there is currently special code to
> handle this, in fact the lack of said code is allowing this bad
> behavior to occur.

Actually, that is what I meant. To implement it "correctly" would
require more code in the current incarnation. You'd need to handle those
regions slightly differently than "normal" regions. Currently it is not
working as intended because you do not have that code in place.

IMHO if you modify the loop/punch to create separate audio files and
regions, the resulting files/regions would behave exactly like all other
regions and require no special handling after initial creation. While
I'm not familiar with the ardour codebase, I would imagine it would
require something like calling Close() and then Open() each time you
loop, instead of just calling CreateRegion() as it appears you are doing
now (my own pseudo-code - not real Ardour functions).

btw 2.0.3 runs great - nice work again!

-Dan


Jesse Chappell wrote:
> On 7/9/07, Dan Tepper <dan at wintaper.com> wrote:
> 
>> Because I did not immediately realize I had moved the start point, I
>> ended up with no way to align this track properly other than by ear.
>> "original position" didn't work for subsequent takes (loops), however
>> even if it did, how would it place the region that (now) spanned two takes?
>>
>> I gotta disagree on this one. I know it is not a trivial thing to
>> change, but the way this is being handled is counter-intuitive and
>> actually increases the chances of error. This handling is already
>> causing problems with the original position concept - which frankly I
>> don't see how you can resolve as long as I can move the start point of a
>> region across two looped takes that really occur at the same point in
>> the timeline.
> 
> Yeah, I realized this as I was implementing it but forgot to warn
> people that the GUI doesn't yet prevent you from trimming outside the
> scope of the original region.  I consider this another bug.
> 
>> If each take went in its own wav file, there would be no problem with
>> "original position" alignment and I would not be able to move start
>> points across different takes (loops). This approach would likely
>> require less code than what you are doing now, since I would have to
>> guess there is some special handling for these looped record regions.
> 
> You would be wrong in thinking there is currently special code to
> handle this, in fact the lack of said code is allowing this bad
> behavior to occur.  Creating separate files is one solution, as is
> adding some additional checks... the trade-offs of each are TBD.
> 
> jlc
> _______________________________________________
> ardour-dev mailing list
> ardour-dev at lists.ardour.org
> http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org
> 
> 




More information about the Ardour-Dev mailing list