[Ardour-Dev] Some editing hints wanted

Paul Davis paul at linuxaudiosystems.com
Thu Sep 16 14:38:07 PDT 2010

On Thu, Sep 16, 2010 at 5:33 PM, plutek <plutek at infinity.net> wrote:
> Excerpts from Paul Davis's message of Thu Sep 16 17:09:23 -0400 2010:
>> There is an option under Options->Misc called "Region equivalents
>> overlap". This allows a choose of two different region equivalency
>> models, best expressed (to you, at least) as code:
>> ---------------------------------------------------------------------------------------
>> bool
>> Region::overlap_equivalent (boost::shared_ptr<const Region> other) const
>> {
>>     return coverage (other->first_frame(), other->last_frame()) != OverlapNone;
>> }
>> bool
>> Region::equivalent (boost::shared_ptr<const Region> other) const
>> {
>>     return _start == other->_start &&
>>         _position == other->_position &&
>>         _length == other->_length;
>> }
>> -------------------------------------------------------------------------------------------
> for the rest of us, listening in on this very interesting discussion, would one of you be kind enough to translate that into user's terms, if that is possible? thanks much!

if the "Region equivalents overlap" (badly named) option is enabled,
then the test of whether a region in track B is "equivalent" to a
selected region in track A simply comes down "does it overlap with the
selected region" ?

if the option is not enabled, then for regions to be considered
equivalent, their start point in their source file(s), their position
on the timeline and their length must be exactly equal to the selected

More information about the Ardour-Dev mailing list