Re: [LAD] preset saving in sessions

From: David Robillard <d@email-addr-hidden>
Date: Mon Mar 05 2012 - 00:32:30 EET

On Sun, 2012-03-04 at 23:17 +0100, Emanuel Rumpf wrote:
> Am 4. März 2012 22:47 schrieb David Robillard <d@drobilla.net>:
> > On Sun, 2012-03-04 at 16:17 -0500, Paul Davis wrote:
> >> On Sun, Mar 4, 2012 at 3:37 PM, J. Liles <malnourite@gmail.com> wrote:
> >> consider the SFZ file format. it refers to other audio samples. it
> >> doesn't require that the references use absolute paths, but they can.
[...]
> > It is (inherently) necessary for the plugin to map *ALL* paths in its
> > state for this to work. If they happen to be in some pre-existing file,
> > well, that's probably going to be pretty annoying, but you have to map
> > them all the same.
> >
>
> For simplification, one could assume all samples had a common parent directory ?

Unfortunate the SFZ file format does not have any such rule, so you
can't make that assumption in general. Well... you can (on POSIX
anyway), but in the worst case it might be the root, which means you end
up with the entire file system in your session. Oops :)

-dr

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Mar 5 00:15:04 2012

This archive was generated by hypermail 2.1.8 : Mon Mar 05 2012 - 00:15:04 EET