Saving LV2 state

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
robertaramar
Newbie
Posts: 8
Joined: Mon Oct 06, 2014 12:34 pm

Saving LV2 state

Post by robertaramar » Mon Oct 06, 2014 12:38 pm

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>
] .

Post Reply