From b2930d1daa487dc22ba004a5e97a504900b46bb7 Mon Sep 17 00:00:00 2001 From: David Robillard <d@drobilla.net> Date: Mon, 10 Oct 2011 04:36:39 +0000 Subject: Add atom:MidiMessage. --- ext/atom.lv2/atom.ttl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 ; -- cgit v1.2.1