Re: [LAD] NSM - handling large files

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Thursday, April 5, 2012 - 12:16 pm

On Thu, Apr 05, 2012 at 12:14:03PM +0100, Rui Nuno Capela wrote:

> from what I read on the NSM User & API specs. you can only create new,

You have a project of application A, created without NSM, and the project
is saved in P (a single file, or a directory).

You want to use P as part of an NSM session. Note that this scenario means
that A has some button to select if it runs under NSM or not. Let's assume
that the default is to run stand-alone.

There are two ways to do this:

1. ('Load' and 'New' are disabled when running NSM)

* Start A.
* Load P.
* Connect A to NSM. Application A will receive a path indicating
where to save its current project. The actual message is 'open',
but since there is nothing to open at the given path the only
sensible thing to do is to put the current project there.
App. A can do so immediately, and then continue as normal.
The whole thing amounts to a 'Save as' [*] with the name given
by NSM instead of the user. So it's really nothing new.

2. ('Load' and 'New' are not disabled but the application knows
how to handle then when running under NSM)

* Start A.
* Connect A to NSM. App. A will receive a path indicating where to
save the its project. Since A is now running under NSM, it remembers
this path as the 'current project' even when it loads another one,
or creates a complete new one (under these condition A is allowed
to have 'Load' and 'New' menu entries).
* Load P. App A knows that it should not save to P, but to the path
given by NSM. To keep things simple, it could copy P to that path
immediately and then continue as normal. Again this is essentially
a 'Save as'.

The only difference between the two is that in (2) the second and
third steps are swapped.

No 'manual' user action is required in either case.

Ciao,

[*] 'Save as' interpreted as most apps would, not as Ardour does it.
In Ardour, 'Save as' does not create a new project but a snapshot,
while setting the current name to that snapshot.

--
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] NSM - handling large files, Emanuel Rumpf, (Thu Mar 29, 1:35 pm)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Thu Mar 29, 1:44 pm)
Re: [LAD] NSM - handling large files, Joel Roth, (Tue Apr 3, 5:49 am)
Re: [LAD] NSM - handling large files, rncbc, (Tue Apr 3, 9:05 am)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Tue Apr 3, 9:39 am)
Re: [LAD] NSM - handling large files, rncbc, (Tue Apr 3, 10:56 am)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Tue Apr 3, 2:22 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Tue Apr 3, 12:56 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Tue Apr 3, 5:03 pm)
Re: [LAD] NSM - handling large files, David Robillard, (Wed Apr 4, 11:25 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Thu Apr 5, 11:16 am)
Re: [LAD] NSM - handling large files, Dennis Schulmeister, (Thu Apr 5, 6:11 pm)
Re: [LAD] NSM - handling large files, David Robillard, (Thu Apr 5, 5:48 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Thu Apr 5, 6:15 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Thu Apr 5, 8:39 pm)
Re: [LAD] NSM - handling large files, David Robillard, (Thu Apr 5, 6:56 pm)
Re: [LAD] NSM - handling large files, Fons Adriaensen, (Thu Apr 5, 12:16 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Thu Apr 5, 2:19 pm)
Re: [LAD] NSM - handling large files, Fons Adriaensen, (Thu Apr 5, 2:49 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Thu Apr 5, 4:19 pm)
Re: [LAD] NSM - handling large files, David Robillard, (Thu Apr 5, 5:10 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 4, 11:18 am)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Wed Apr 4, 1:25 pm)
Re: [LAD] NSM - handling large files, Fons Adriaensen, (Wed Apr 4, 1:51 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 4, 2:38 pm)
Re: [LAD] NSM - handling large files, Fons Adriaensen, (Wed Apr 4, 4:31 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Wed Apr 4, 12:22 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Wed Apr 4, 4:20 pm)
Re: [LAD] NSM - handling large files, Fons Adriaensen, (Wed Apr 4, 8:48 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Wed Apr 4, 10:23 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Wed Apr 4, 10:28 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Wed Apr 4, 6:13 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 4, 12:36 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Wed Apr 4, 2:38 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 4, 2:56 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Wed Apr 4, 3:46 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 4, 4:20 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Wed Apr 4, 6:50 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 4, 7:59 pm)
Re: [LAD] NSM - handling large files, David Robillard, (Wed Apr 4, 9:22 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 4, 10:45 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 4, 8:13 pm)
Re: [LAD] NSM - handling large files, Joel Roth, (Fri Apr 6, 7:06 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Mon Apr 9, 3:28 pm)
Re: [LAD] NSM - handling large files, Fons Adriaensen, (Mon Apr 9, 4:03 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Mon Apr 9, 4:35 pm)
Re: [LAD] NSM - handling large files, Fons Adriaensen, (Mon Apr 9, 5:10 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 11, 12:43 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Wed Apr 11, 4:32 pm)
Re: [LAD] NSM - handling large files, Dave Phillips, (Wed Apr 11, 1:18 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 11, 1:37 pm)
Re: [LAD] NSM - handling large files, Renato, (Wed Apr 11, 2:31 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Fri Apr 6, 8:08 pm)
Re: [LAD] NSM - handling large files, Joel Roth, (Sun Apr 8, 5:38 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Wed Apr 4, 3:21 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Tue Apr 3, 5:34 pm)
Re: [LAD] NSM - handling large files, Louigi Verona, (Wed Apr 4, 8:12 am)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Wed Apr 4, 9:06 am)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Tue Apr 3, 1:35 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Tue Apr 3, 5:17 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Tue Apr 3, 9:42 am)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Thu Mar 29, 9:23 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Fri Mar 30, 1:48 am)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Fri Mar 30, 9:01 am)
Re: [LAD] NSM - handling large files, Paul Davis, (Fri Mar 30, 10:27 am)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Mon Apr 2, 4:12 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Mon Apr 2, 6:29 pm)
Re: [LAD] NSM - handling large files, Paul Giblock, (Mon Apr 2, 6:39 pm)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Mon Apr 2, 6:51 pm)
Re: [LAD] NSM - handling large files, Paul Giblock, (Mon Apr 2, 7:07 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Mon Apr 2, 7:11 pm)
Re: [LAD] NSM - handling large files, Thomas Vecchione, (Mon Apr 2, 7:34 pm)
Re: [LAD] NSM - handling large files, Tim Westbrook, (Mon Apr 2, 7:48 pm)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Mon Apr 2, 8:22 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Mon Apr 2, 5:17 pm)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Mon Apr 2, 6:29 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Mon Apr 2, 7:23 pm)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Mon Apr 2, 8:05 pm)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Tue Apr 3, 6:59 am)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Tue Apr 3, 7:05 am)
Re: [LAD] NSM - handling large files, Nils, (Tue Apr 3, 9:21 am)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Tue Apr 3, 1:44 pm)
Re: [LAD] NSM - handling large files, Louigi Verona, (Tue Apr 3, 2:18 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Tue Apr 3, 2:22 pm)
Re: [LAD] NSM - handling large files, rosea.grammostola, (Fri Mar 30, 8:03 am)
Re: [LAD] NSM - handling large files, David Robillard, (Thu Mar 29, 11:41 pm)
Re: [LAD] NSM - handling large files, J. Liles, (Fri Mar 30, 1:29 am)
Re: [LAD] NSM - handling large files, Emanuel Rumpf, (Fri Mar 30, 3:32 pm)
Re: [LAD] NSM - handling large files, Lieven Moors, (Fri Mar 30, 7:09 pm)
Re: [LAD] NSM - handling large files, Fons Adriaensen, (Fri Mar 30, 8:53 pm)
Re: [LAD] NSM - handling large files, Lieven Moors, (Fri Mar 30, 10:13 pm)
Re: [LAD] NSM - handling large files, David Robillard, (Fri Mar 30, 9:57 pm)
Re: [LAD] NSM - handling large files, Thomas Vecchione, (Fri Mar 30, 9:14 pm)
Re: [LAD] NSM - handling large files, Fons Adriaensen, (Fri Mar 30, 9:28 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Fri Mar 30, 10:19 pm)
Re: [LAD] NSM - handling large files, Thomas Vecchione, (Fri Mar 30, 9:42 pm)
Re: [LAD] NSM - handling large files, David Robillard, (Fri Mar 30, 2:06 am)
Re: [LAD] NSM - handling large files, Louigi Verona, (Fri Mar 30, 6:20 am)
Re: [LAD] NSM - handling large files, Fons Adriaensen, (Thu Mar 29, 9:45 pm)
Re: [LAD] NSM - handling large files, Rui Nuno Capela, (Thu Mar 29, 10:40 pm)