|
From: David R. <d...@dr...> - 2012-08-10 16:02:26
|
On Fri, 2012-07-27 at 23:04 -0400, David Robillard wrote:
> On Fri, 2012-07-20 at 16:46 +0200, Gabbe Nord wrote:
> > Hello!
> >
> > I'm using the LV2-plugin for Linuxsampler alot with ardour (3,
> > svn-version) and an issue i've been having for quite a while now is
> > that it does not reload the sample-files it should correctly upon
> > session startup.
> > For example, the terminal displays this when loading a session:
> >
> > Scheduling
> > '/home/zth/MUSIK/WhatProjekt/simpleBeat/plugins/401/state8/DecayBass.sfz' (Index=0) to be loaded in background (if not loaded yet).
> > Loading sfz instrument
> > ('/home/zth/MUSIK/WhatProjekt/simpleBeat/plugins/401/state8/DecayBass.sfz',0)...OK
> > Caching initial samples...sfz::Engine error: Failed to load
> > instrument,
> > cause: /home/zth/MUSIK/WhatProjekt/simpleBeat/plugins/401/state8/DecayBass.wav: Can't get sample info: System error : No such file or directory.
[...]
> Long story short, SFZ (or any multi-file format) in LV2 doesn't work
> across saves.
Attached is a patch to resolve this issue.
LinuxSampler LV2 state is still not archivable, and multi-file .gig will
still not work, but SFZ should save and restore correctly at least.
It would perhaps be a good idea to move this fix lower to the SFZ engine
so loading from a symbolic link path always works.
Patch also available online here:
http://drobilla.net/files/linuxsampler_lv2_sfz_fix.diff
Cheers,
-dr
|