On 2012-03-06 06:51, David Robillard wrote:
> On Sun, 2012-03-04 at 14:04 -0500, Edward Diehl wrote:
>> State restore works for gig, SF2 but not SFZ, which I think is a known
>> problem.
>
> Yes, this is because SFZ contains paths which need to be mapped.
> Unfortunately this means LinuxSampler is going to have to rewrite the
> SFZ file on save, but this is the only way to get properly
> archivable/portable sessions.

It's also because there's a bug in LinuxSampler causing crashes as 
pEngine pointer sometimes is null when the instrument loader thread 
loads sfz or sf2 files. You fixed this for gig files with a simple 
patch, but I'm working on a more thread safe fix for all engines.

I don't know how much it matters, but note that a normal sfz file (one 
you might download from Internet) uses relative paths to the samples. 
The paths are relative to the location of the sfz file. (The fact that 
we support absolute paths is in my opinion something that we can ignore 
when saving the state - if the user has chosen to use absolute paths, he 
has also chosen to create a non-portable session.)

/Andreas

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to