[LAU] Where do LADSPA presets get saved?

Ken Restivo ken at restivo.org
Tue Mar 9 23:24:58 EST 2010


On Tue, Mar 09, 2010 at 08:41:09PM +0000, Gordon JC Pearce wrote:
> On Tue, 2010-03-09 at 12:22 -0800, Ken Restivo wrote:
> > I'm trying to Git-ify everything in my music setup. So far so good, except I can't figure out where LADSPA presets get saved.
> > 
> > After poking around through the Ardour sourcecode, it looks like the presets don't get saved by Ardour itself; it calls a function in the plugin itself (IIRC, plugin->save_preset() or something like that). Where the plugin actually saves its state is a mystery to me.
> > 
> > Any hints?
> 
> AFAICT it's implementation-dependent.
> 

Ah, found it,

~/.ladspa/rdf/ardour-presets.n3

Obviously, based on the pathname, an RDF format file. Added to git, done.

The code that reads/writes it was not in the plugin itself, it was in Ardour:

http://viewcvs.ardour.org/index.cgi/ardour2/ardour2/branches/2.0-ongoing/libs/ardour/plugin.cc?view=markup

-ken


More information about the Linux-audio-user mailing list