aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/lv2plug.in/ns/ext')
-rw-r--r--lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl2
-rw-r--r--lv2/lv2plug.in/ns/ext/presets/presets.h2
-rw-r--r--lv2/lv2plug.in/ns/ext/presets/presets.ttl20
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 ;