View Single Post
Old 03-16-2009, 05:14 PM   #64
Human being with feelings
Join Date: Mar 2007
Posts: 21,376

Originally Posted by 404NotFound View Post
Some thoughts on this - Justin, Schwa, Christophe, this is for you:

We definitely need an import dialog. Shouldn't be too hard to build, maybe even via extensions - I'll do it myself if you point me in the right direction. Anyway, it should work like that:

1. Open the "Open Project" dialog, let the user select a file
2. Use the existing LoadProject implementations to parse the project file into a ProjectStateContext
3. Show a list of the tracks in the project, let the user select the ones to import. There can (and should) also be additional controls like time offset. I'll provide a mockup later.
4. Extract only selected tracks from the ProjectStateContext and insert them into the project

That way we can easily re-use the existing functions for loading projects.
Any comments?
+1. You should be able to select which tracks to import or not with OMF. I'll post a screenshot of what 404 is talking about in a minute.

404: What's the foreseeable possibility of flipping your code at some point and *exporting* OMF? Not to put the cart before the horse (and it's a fine horse you're building ) but OMF functionality eventually should be two way.

Screenshot of an import dialog with the time options.

• “Import at Timecode Position” will insert the elements
contained in the OMF file at their original timecode posi-

This is useful when you want to position every imported element at its ex-
act timecode position, i.e. as it was saved in the OMF file. This way, the
elements will end up at their correct time positions even when the daw is using
uses a different frame rate than the OMF file. This is usually required in a
picture-related context.

• “Import at Absolute Time” will insert the elements con-
tained in the OMF file starting at the timecode position
saved in the file and keeping the relative distances be-
tween the elements.

This is required when the relative positioning of the elements inside the
OMF file needs to be maintained after importing it into the time-
line (even if the daw is set to a different frame rate than the OMF file).
This is usually required in music contexts, where the timing between ob-
jects has highest priority.
"I, Bozo The Clown, do solemly swear to uphold the Consti.. consti... uh, how do you pronounce that again?".

Last edited by Tallisman; 03-16-2009 at 06:02 PM.
Lawrence is offline   Reply With Quote