diff options
author | David Robillard <d@drobilla.net> | 2015-03-06 15:29:52 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-03-06 20:11:04 -0500 |
commit | 1010e630c56c27e8b6ea7b3708e406d1c598b27e (patch) | |
tree | 2d50176d1429f779c3ef24079a31263cbddd882b /lv2/lv2plug.in | |
parent | e4124c859a22ef688c2568a2a48f49ae73631ebd (diff) | |
download | lv2-1010e630c56c27e8b6ea7b3708e406d1c598b27e.tar.xz |
Add preset banks.
Diffstat (limited to 'lv2/lv2plug.in')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl | 2 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/presets/presets.h | 2 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/presets/presets.ttl | 20 |
3 files changed, 23 insertions, 1 deletions
diff --git a/lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl b/lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl index 990972b..5f17d54 100644 --- a/lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl @@ -19,6 +19,8 @@ dcs:changeset [ dcs:item [ rdfs:label "Use consistent label style." + ] , [ + rdfs:label "Add preset banks." ] ] ] , [ diff --git a/lv2/lv2plug.in/ns/ext/presets/presets.h b/lv2/lv2plug.in/ns/ext/presets/presets.h index 22d91a6..8b3bd49 100644 --- a/lv2/lv2plug.in/ns/ext/presets/presets.h +++ b/lv2/lv2plug.in/ns/ext/presets/presets.h @@ -28,7 +28,9 @@ #define LV2_PRESETS_URI "http://lv2plug.in/ns/ext/presets" #define LV2_PRESETS_PREFIX LV2_PRESETS_URI "#" +#define LV2_PRESETS__Bank LV2_PRESETS_PREFIX "Bank" #define LV2_PRESETS__Preset LV2_PRESETS_PREFIX "Preset" +#define LV2_PRESETS__bank LV2_PRESETS_PREFIX "bank" #define LV2_PRESETS__preset LV2_PRESETS_PREFIX "preset" #define LV2_PRESETS__value LV2_PRESETS_PREFIX "value" diff --git a/lv2/lv2plug.in/ns/ext/presets/presets.ttl b/lv2/lv2plug.in/ns/ext/presets/presets.ttl index ef505c8..bd05808 100644 --- a/lv2/lv2plug.in/ns/ext/presets/presets.ttl +++ b/lv2/lv2plug.in/ns/ext/presets/presets.ttl @@ -28,10 +28,21 @@ eg:mypreset </pre> """ . +pset:Bank + a rdfs:Class ; + rdfs:label "Bank" ; + rdfs:subClassOf [ + a owl:Restriction ; + owl:onProperty rdfs:label ; + owl:someValuesFrom xsd:string ; + rdfs:comment "A Bank MUST have at least one string rdfs:label." + ] ; + rdfs:comment "A bank of presets." . + pset:Preset a rdfs:Class ; rdfs:subClassOf lv2:PluginBase ; - rdfs:label "LV2 Preset" ; + rdfs:label "Preset" ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty rdfs:label ; @@ -63,6 +74,13 @@ eg:mypreset Preset MUST have at least a lv2:symbol property and a pset:value property.</p> """ . +pset:bank + a rdf:Property ; + rdfs:domain pset:Preset ; + rdfs:range pset:Bank ; + rdfs:label "bank" ; + rdfs:comment "The bank this preset belongs to." . + pset:value a rdf:Property ; rdfs:domain lv2:Port ; |