aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/midi
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-09 14:31:14 +0000
committerDavid Robillard <d@drobilla.net>2012-08-09 14:31:14 +0000
commitf9201fae1cd1023c7e0a784cd28c91a68a0b5c21 (patch)
treea27992336d524fadc61d04ba790a09ef35f8d231 /lv2/lv2plug.in/ns/ext/midi
parent76876fad095ddfe69a258f10fd7d7fe915e828ea (diff)
downloadlv2-f9201fae1cd1023c7e0a784cd28c91a68a0b5c21.tar.xz
Add midi:binding and midi:channel.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/midi')
-rw-r--r--lv2/lv2plug.in/ns/ext/midi/lv2-midi.doap.ttl4
-rw-r--r--lv2/lv2plug.in/ns/ext/midi/midi.ttl27
2 files changed, 29 insertions, 2 deletions
diff --git a/lv2/lv2plug.in/ns/ext/midi/lv2-midi.doap.ttl b/lv2/lv2plug.in/ns/ext/midi/lv2-midi.doap.ttl
index 186e2c2..b4f874e 100644
--- a/lv2/lv2plug.in/ns/ext/midi/lv2-midi.doap.ttl
+++ b/lv2/lv2plug.in/ns/ext/midi/lv2-midi.doap.ttl
@@ -15,11 +15,13 @@
<http://drobilla.net/drobilla#me> ;
doap:release [
doap:revision "1.7" ;
- doap:created "2012-07-29" ;
+ doap:created "2012-08-09" ;
dcs:blame <http://drobilla.net/drobilla#me> ;
dcs:changeset [
dcs:item [
rdfs:label "Use consistent label style."
+ ] , [
+ rdfs:label "Add midi:binding and midi:channel."
]
]
] , [
diff --git a/lv2/lv2plug.in/ns/ext/midi/midi.ttl b/lv2/lv2plug.in/ns/ext/midi/midi.ttl
index 83c3b7d..a8015b6 100644
--- a/lv2/lv2plug.in/ns/ext/midi/midi.ttl
+++ b/lv2/lv2plug.in/ns/ext/midi/midi.ttl
@@ -259,6 +259,24 @@ midi:benderValue
rdfs:range xsd:short ;
rdfs:comment "The value of a pitch bender (-8192 to 8192)." .
+midi:binding
+ a rdf:Property ,
+ owl:ObjectProperty ;
+ rdfs:range midi:MidiEvent ;
+ lv2:documentation """
+<p>The MIDI event to bind a parameter to. This describes which MIDI events
+should be used to control a port, parameter, or other object. The binding
+should be a midi:MidiEvent but the property that represents the control value may
+be ommitted. For example, to bind to the value of controller 17:</p>
+
+<pre class="turtle-code">
+port midi:binding [
+ a midi:Controller ;
+ midi:controllerNumber 17
+] .
+</pre>
+""" .
+
midi:byteNumber
a rdf:Property ,
owl:DatatypeProperty ;
@@ -266,6 +284,13 @@ midi:byteNumber
rdfs:range xsd:unsignedByte ;
rdfs:comment "The 0-based index of a byte which is part of this chunk." .
+midi:channel
+ a rdf:Property ,
+ owl:DatatypeProperty ,
+ owl:FunctionalProperty ;
+ rdfs:range xsd:unsignedByte ;
+ rdfs:comment "The channel number of a MIDI message." .
+
midi:chunk
a rdf:Property ;
rdfs:range xsd:byte ,
@@ -277,7 +302,7 @@ midi:controllerNumber
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:range xsd:byte ;
- rdfs:comment "The numberic ID of a controller (0 to 127)." .
+ rdfs:comment "The numeric ID of a controller (0 to 127)." .
midi:controllerValue
a rdf:Property ,