Page 1 of 1

Saving LV2 state

Posted: Mon Oct 06, 2014 12:38 pm
by robertaramar
Hi,

with Ardour 3 I had problems loading a LV2 based state. It always failed at the assert at line 238.

I have temporarily remove the assert line and the state is loading fine.

Is there an issue with a wrong namespace?

Best regards,

Robert

Here is the manifest.ttl:

@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<state.ttl>
a pset:Preset ;
rdfs:seeAlso <state.ttl> ;
lv2:appliesTo <http://linuxsampler.org/plugins/linuxsampler> .

Here is the state.ttl:

@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix state: <http://lv2plug.in/ns/ext/state#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<>
a pset:Preset ;
lv2:appliesTo <http://linuxsampler.org/plugins/linuxsampler> ;
state:state [
<http://linuxsampler.org/schema#state-file> <linuxsampler>
] .