|
From: Gabbe N. <gab...@gm...> - 2012-07-20 14:47:05
|
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.
...where the correct path to the sfz (and wavs) is a completely other path.
So what I need to do upon each startup is manually reloading each
LS-channel to be used with ardour, via for example qsampler.
I remember this working "like it should" a while back (a couple of months),
so I was thinking I should alert you on this issue =) Please let me know if
I can assist in some other way in debugging etc!
Thanks in advanced!
|
|
From: David R. <d...@dr...> - 2012-07-28 03:20:21
Attachments:
signature.asc
|
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.
>
> ...where the correct path to the sfz (and wavs) is a completely other
> path. So what I need to do upon each startup is manually reloading
> each LS-channel to be used with ardour, via for example qsampler.
>
> I remember this working "like it should" a while back (a couple of
> months), so I was thinking I should alert you on this issue =) Please
> let me know if I can assist in some other way in debugging etc!
Long story short, SFZ (or any multi-file format) in LV2 doesn't work
across saves.
Sorry, I'll get around to it :)
-dr
|
|
From: David R. <d...@dr...> - 2012-08-10 16:02:26
Attachments:
signature.asc
linuxsampler_lv2_sfz_fix.diff
|
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
|
|
From: Andreas P. <and...@br...> - 2012-08-16 17:06:41
|
On 2012-08-10 18:02, David Robillard wrote:
> 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.
Thank you! Patch is applied. Your "ifdef WIN32" also triggered me to
make the LV2 plugin buildable for Windows and Mac.
/Andreas
|