aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-10 04:36:39 +0000
committerDavid Robillard <d@drobilla.net>2011-10-10 04:36:39 +0000
commitb2930d1daa487dc22ba004a5e97a504900b46bb7 (patch)
tree8d99bca80974bc4ecbddb45cad370916cc4d8ad7 /ext
parent2059f68a2b346477335c3962bfb217f81d1a92fc (diff)
downloadlv2-b2930d1daa487dc22ba004a5e97a504900b46bb7.tar.xz
Add atom:MidiMessage.
Diffstat (limited to 'ext')
-rw-r--r--ext/atom.lv2/atom.ttl22
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/atom.lv2/atom.ttl b/ext/atom.lv2/atom.ttl
index ed7e664..4039739 100644
--- a/ext/atom.lv2/atom.ttl
+++ b/ext/atom.lv2/atom.ttl
@@ -300,6 +300,28 @@ An atom with a time stamp header prepended, typically for sample accurate
transmission via LV2 ports. See struct LV2_Atom_Event.
""" .
+atom:MidiMessage
+ a rdfs:Class ;
+ rdfs:label "MIDI Message" ;
+ rdfs:subClassOf atom:Atom ;
+ lv2:documentation """
+<p>A single raw MIDI message.</p>
+
+<p>This is a standard MIDI message, with the following restrictions to ease the
+burden on plugin authors:</p>
+<ul>
+ <li>Running status is not allowed, every message must have its own status
+ byte.</li>
+
+ <li>Note On messages with velocity 0 are not allowed. These messages are
+ equivalent to Note Off in standard MIDI streams, but here only proper Note
+ Off messages are allowed.</li>
+
+ <li>"Realtime messages" (status bytes 0xF8 to 0xFF) are allowed, but may
+ not occur inside other messages like they can in standard MIDI streams.</li>
+</ul>
+""" .
+
atom:Bang
a rdfs:Class ;
rdfs:subClassOf atom:Atom ;