[Linuxsampler-devel] [PATCH] LV2 Persist + Files Support

2011-04-02 Thread David Robillard
ORS,v retrieving revision 1.8 diff -u -r1.8 AUTHORS --- AUTHORS 31 Jul 2009 07:45:47 - 1.8 +++ AUTHORS 3 Apr 2011 02:24:51 - @@ -46,3 +46,4 @@ Andrew Williams Devin Anderson Chris Cherrett +David Robillard Index: src/drivers/Plugin.cpp ===

Re: [Linuxsampler-devel] [PATCH] LV2 Persist + Files Support

2011-04-05 Thread David Robillard
On 03/04/11 03:29 AM, Christian Schoenebeck wrote: > On Sunday 03 April 2011 05:19:00 David Robillard wrote: > >> Hello, >> > Hi David! > > >> I have been working on resolving fragmentation among LV2 implementations >> of plugin state persis

Re: [Linuxsampler-devel] [PATCH] LV2 Persist + Files Support

2011-04-05 Thread David Robillard
On 03/04/11 07:25 AM, Rui Nuno Capela wrote: > On 04/03/2011 04:19 AM, David Robillard wrote: >> Hello, >> >> I have been working on resolving fragmentation among LV2 implementations >> of plugin state persistence. The most recent / hopefully best extensions >> ar

Re: [Linuxsampler-devel] [PATCH] LV2 Persist + Files Support

2011-04-05 Thread David Robillard
On 05/04/11 10:36 AM, David Robillard wrote: On 03/04/11 03:29 AM, Christian Schoenebeck wrote: [snip] These extensions are still provisional, feedback on them is welcome (when they are implemented in at least one other plugin and host (I'll probably do QTractor) and any issues p

Re: [Linuxsampler-devel] [PATCH] LV2 Persist + Files Support

2011-04-06 Thread David Robillard
On 06/04/11 05:02 AM, Rui Nuno Capela wrote: > On 04/06/2011 01:19 AM, David Robillard wrote: > >> Updated version of the LS patch attached (I split the "refer to files in >> state" and "create new files" features in the files extension). Matches >

Re: [Linuxsampler-devel] [PATCH] LV2 Persist + Files Support

2011-04-09 Thread David Robillard
On 05/04/11 10:36 AM, David Robillard wrote: On 03/04/11 03:29 AM, Christian Schoenebeck wrote: [...] We just checked it. The extensions and your LinuxSampler patch look fine to us. Good job! But we like to wait for applying your patch until QTractor also supports those new LV2 extensions

[Linuxsampler-devel] [PATCH] Fix crash when restoring LV2 plugin in Ardour

2011-10-19 Thread David Robillard
Hello, Attached is a patch that fixes a NULL pointer dereference problem that occurs when LinuxSampler is restored as an LV2 in Ardour 3.0. This problem does not occur in at least one other host, qsampler, and I am not sure why. Perhaps because the plugin has not been activated yet? The persist

Re: [Linuxsampler-devel] [PATCH] Fix crash when restoring LV2 plugin in Ardour

2011-11-11 Thread David Robillard
On Fri, 2011-10-21 at 13:51 +0200, Christian Schoenebeck wrote: > On Thursday 20 October 2011 13:25:48 Dan MacDonald wrote: > > Hi Dave! > > > > On Wed, Oct 19, 2011 at 11:22 PM, David Robillard wrote: > > > Hello, > > > > > > Attached is a pat

Re: [Linuxsampler-devel] Improving the portability of LS LV2 using projects

2011-11-11 Thread David Robillard
On Tue, 2011-10-18 at 18:55 +0100, Dan MacDonald wrote: > Hi LS devs! > > I'm sure some of you already know me off the LAU/LAD lists as I've > been the main tester of MIDI in Ardour 3 and I've FINALLY got round to > concentrating on using LS under A3! Aren't you lucky? :D > > I'm addressing the l

[Linuxsampler-devel] [PATCH] Update support for LV2 state extension (formerly "persist")

2011-11-11 Thread David Robillard
_persist.h (revision 2281) +++ src/hostplugins/lv2/lv2_persist.h (working copy) @@ -1,228 +0,0 @@ -/* - Copyright 2010-2011 David Robillard <http://drobilla.net> - Copyright 2010 Leonard Ritter - - This header is free software; you can redistribute it and/or modify it - under the terms of the GN

[Linuxsampler-devel] [PATCH] Yet another LV2 state patch

2011-11-23 Thread David Robillard
Since the last one hasn't been applied yet, I figured I'd take the opportunity to simplify these extensions by merging files into state (the roles of these were confusing people). Still compatible with last state patch, though. Patch available at: http://drobilla.net/files/linuxsampler_lv2_state

Re: [Linuxsampler-devel] [PATCH] Yet another LV2 state patch

2012-01-17 Thread David Robillard
Aaand yet another state patch :) This one properly conforms to the state extension by using/preferring features passed to the state methods if they are present. It does not break anything (i.e. the ones passed to instantiate will still be used as before). -dr Index: src/hostplugins/lv2/Plug

Re: [Linuxsampler-devel] [PATCH] Yet another LV2 state patch

2012-01-17 Thread David Robillard
On Wed, 2012-01-18 at 01:41 +0100, Christian Schoenebeck wrote: > On Tuesday 17 January 2012 17:05:07 David Robillard wrote: > > Aaand yet another state patch :) > > > > This one properly conforms to the state extension by using/preferring > > features passed to th

Re: [Linuxsampler-devel] [PATCH] Yet another LV2 state patch

2012-01-19 Thread David Robillard
On Wed, 2012-01-18 at 12:17 +0100, Christian Schoenebeck wrote: > On Wednesday 18 January 2012 02:59:44 David Robillard wrote: > > is the old-style include. It is still installed there, but > > things are migrating to the new-style URI-like includes. There's > > nothi

Re: [Linuxsampler-devel] [PATCH] Yet another LV2 state patch

2012-01-27 Thread David Robillard
On Wed, 2012-01-18 at 01:41 +0100, Christian Schoenebeck wrote: > On Tuesday 17 January 2012 17:05:07 David Robillard wrote: > > Aaand yet another state patch :) > > > > This one properly conforms to the state extension by using/preferring > > features passed to th

Re: [Linuxsampler-devel] [PATCH] Yet another LV2 state patch

2012-02-12 Thread David Robillard
On Sat, 2012-02-11 at 12:12 +0100, Andreas Persson wrote: > On 2012-01-28 02:38, David Robillard wrote: > > Aaaand another one. Couple of minor screw-ups in the previous. > > Committed. Sorry for taking so long. No worrie

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-02-29 Thread David Robillard
On Sun, 2012-02-26 at 11:42 -0500, Edward Diehl wrote: > I rebuilt linuxsampler (libgig, qsampler) all with SVN 2322, but still the > state is not restored. My state.ttl file says: > > <> > a pset:Preset ; > lv2:appliesTo . > > manifest.

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-03 Thread David Robillard
On Wed, 2012-02-29 at 20:15 -0500, Edward Diehl wrote: > I still do not get the linuxsampler state restoration in ardour3. Here > is what I did: > > o applied patch to linuxsampler; recompiled & installed > o built Ardour3 SVN 11569 > o built lv2-svn SVN 572 > o drobilla-lad SVN 4005 I just trie

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-05 Thread David Robillard
On Sun, 2012-03-04 at 14:04 -0500, Edward Diehl wrote: > I have gotten the LV2 state restoration working in Ardour3. I was > missing a configuration option on lv2-svn. This must be built with > the --experimental option to get lilv state support. So I did: > o build lv2-svn latest SVN with --ex

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-06 Thread David Robillard
On Tue, 2012-03-06 at 08:18 +0100, Andreas Persson wrote: > 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. > > >

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-06 Thread David Robillard
On Tue, 2012-03-06 at 14:59 -0500, Edward Diehl wrote: > > 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. >

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-07 Thread David Robillard
On Tue, 2012-03-06 at 22:12 -0500, Edward Diehl wrote: > Ok, fine, do the state restoration the right way. Here are 2 other > things I notice: [...] > 2. Also, I discovered another case of linuxsampler non-state recovery: > large, multifile gig files. I have the 6 GB SampleTekk Black Grand > whic

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-09 Thread David Robillard
On Wed, 2012-03-07 at 15:18 -0500, David Robillard wrote: > On Tue, 2012-03-06 at 22:12 -0500, Edward Diehl wrote: > > Ok, fine, do the state restoration the right way. Here are 2 other > > things I notice: > [...] > > 2. Also, I discovered another case of linuxsa

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-10 Thread David Robillard
On Thu, 2012-03-08 at 20:50 +0100, Andreas Persson wrote: > On 2012-03-06 08:18, Andreas Persson wrote: > > 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

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-10 Thread David Robillard
On Fri, 2012-03-09 at 21:05 +0100, Christian Schoenebeck wrote: > On Friday 09 March 2012 21:02:00 David Robillard wrote: > > > > gig::Engine error: Failed to load instrument, cause: Can't open > > > > "/mdkhome/sound/recording/ardour3/PianoLive/plugins/

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-10 Thread David Robillard
On Sat, 2012-03-10 at 18:40 +0100, Christian Schoenebeck wrote: > On Saturday 10 March 2012 19:24:33 you wrote: > > On Fri, 2012-03-09 at 21:05 +0100, Christian Schoenebeck wrote: > > > On Friday 09 March 2012 21:02:00 David Robillard wrote: > > > > > > gig::Eng

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-11 Thread David Robillard
On Sun, 2012-03-11 at 14:58 +0100, Christian Schoenebeck wrote: > On Saturday 10 March 2012 19:52:21 David Robillard wrote: > > > > > Those are so called "extension files" of the Giga format. Those were > > > > > introduced by Tascam to circumvent th

Re: [Linuxsampler-devel] Ardour3 + linuxsampler plugin

2012-03-12 Thread David Robillard
On Mon, 2012-03-12 at 15:31 +0100, Christian Schoenebeck wrote: > On Sunday 11 March 2012 20:26:35 David Robillard wrote: > > Because the host needs to know where all the files are to make session > > archival possible. > > Yes, makes sense. > > > > Anyway, if

Re: [Linuxsampler-devel] LV2-plugin not reloading samplefiles correctly

2012-07-27 Thread David Robillard
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 exampl

[Linuxsampler-devel] [PATCH] Fix LV2 SFZ state (WAS: Re: LV2-plugin not reloading samplefiles correctly)

2012-08-10 Thread David Robillard
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 whi