traverso-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Traverso-devel] Splitting Clips With Fades


From: Remon
Subject: Re: [Traverso-devel] Splitting Clips With Fades
Date: Wed, 25 Apr 2007 12:57:03 +0200
User-agent: KMail/1.9.6

Hi Ben,

As you became aware allready, fades never get removed really....
Perhaps it should work just like any other audio processing object with a 
AddRemove command.

The trick is that one doesn't alter the state of the object at all, so it can 
be safely inserted again at some later point, that's how un/redo works in 
Traverso.

However you are removing the fades _and_ assign 0 to them....
Me thinks that's a bad idea ;-)

Oh well, I've never been happy about 'resetting' a Fade, it used to be done by 
setting the fade length to something very small...
So you could just do that for now, reset fade_in/out()

And me wonders why he wrote all the docs, ah, it's not uploaded to the website 
I guess. ResourcesManager has it's functions documented, and it states 
getting a clip twice by it's id makes a deep copy...

Regards,

Remon

> I've put together a patch to make splitting clips with a fade in
> and/or fade out work right.  (Attached.)
>
> However, it doesn't yet work quite right... :)
>
> It's very close.  It works right if you're not transporting.  But if
> you are, it clears not just the fades at the split point, but also
> clears the original start and end fades.
>
> I think this may have to do with the fact that the Clip is never
> really deep copied / cloned in SplitClip::prepare_actions()?
>
> Remon, do you have a quick fix?  :)
>
> Thanks,
> Ben






reply via email to

[Prev in Thread] Current Thread [Next in Thread]