From f9201fae1cd1023c7e0a784cd28c91a68a0b5c21 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Aug 2012 14:31:14 +0000 Subject: Add midi:binding and midi:channel. --- lv2/lv2plug.in/ns/ext/midi/lv2-midi.doap.ttl | 4 +++- lv2/lv2plug.in/ns/ext/midi/midi.ttl | 27 ++++++++++++++++++++++++++- 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 @@ ; doap:release [ doap:revision "1.7" ; - doap:created "2012-07-29" ; + doap:created "2012-08-09" ; dcs:blame ; 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 """ +

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:

+ +
+port midi:binding [
+    a midi:Controller ;
+    midi:controllerNumber 17
+] .
+
+""" . + 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 , -- cgit v1.2.1