[LAD] preset saving in sessions

David Robillard d at drobilla.net
Sun Mar 4 22:32:30 UTC 2012


On Sun, 2012-03-04 at 23:17 +0100, Emanuel Rumpf wrote:
> Am 4. März 2012 22:47 schrieb David Robillard <d at 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 at 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




More information about the Linux-audio-dev mailing list