traverso-devel
[Top][All Lists]
Advanced

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

[Traverso-devel] ClipManager


From: Jonatan Liljedahl
Subject: [Traverso-devel] ClipManager
Date: Thu, 31 Aug 2006 16:02:09 +0200
User-agent: Thunderbird 1.5 (X11/20051025)

Here's a summarize of the clip manager stuff we talked about on IRC
yesterday. There's some changes regarding when to copy and when to just
reference a clip, I think I have it sorted out now:

* clips are under each source.

* there's one <Source> tag for each source, not for each channel.

* a source tags 'nfiles' and 'nchannels' attributes tells how many
channels and files that the source consists of. if both nfiles and
nchannels is greater than 1, channelnumber is suffixed into the filename
automatically. The ReadSource class wraps multiple MonoReadSource.

* tracks references clips by their ID.

* when deleting a clip from a track, it's not actually removed from the
project but is still visible in the clipmgr.

* actually deleting a clip or audiosource from the project is done in
the clipmgr.

* importing audiosources is also done in the clipmgr.

* each clip has a field to tell the number of references to it.

* dragging a clip from the clipmgr into a track creates a reference to
it there (not a copy).

* modifying a clip with multiple references creates a copy before the
modification, so that a new clip is created. (the new clip will have
references=1)

* modifying a clip with only one reference (the one you're editing)
changes the clip, no copy is made, so no additional clip is created.

* dragging an audiosource from the clipmgr creates a new clip of the
whole file.
-- 
/Jonatan    -=( http://kymatica.com )=-




reply via email to

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