Browse Source

Add preset banks.

zrythm_meson
David Robillard 8 years ago
parent
commit
1010e630c5
  1. 2
      lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl
  2. 2
      lv2/lv2plug.in/ns/ext/presets/presets.h
  3. 20
      lv2/lv2plug.in/ns/ext/presets/presets.ttl
  4. 2
      wscript

2
lv2/lv2plug.in/ns/ext/presets/lv2-presets.doap.ttl

@ -19,6 +19,8 @@ @@ -19,6 +19,8 @@
dcs:changeset [
dcs:item [
rdfs:label "Use consistent label style."
] , [
rdfs:label "Add preset banks."
]
]
] , [

2
lv2/lv2plug.in/ns/ext/presets/presets.h

@ -28,7 +28,9 @@ @@ -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"

20
lv2/lv2plug.in/ns/ext/presets/presets.ttl

@ -28,10 +28,21 @@ eg:mypreset @@ -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 @@ -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 ;

2
wscript

@ -15,7 +15,7 @@ import waflib.Utils as Utils @@ -15,7 +15,7 @@ import waflib.Utils as Utils
# Variables for 'waf dist'
APPNAME = 'lv2'
VERSION = '1.11.0'
VERSION = '1.11.1'
# Mandatory variables
top = '.'

Loading…
Cancel
Save