aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-30 18:14:59 +0000
committerDavid Robillard <d@drobilla.net>2011-05-30 18:14:59 +0000
commitf4ec71684680d007b747516893fc49289d642515 (patch)
tree54deb31057429808a021b66795bbb2ec0f6212c1 /ext
parent064b51213e64ad23211316383f65a4fec049d88b (diff)
downloadlv2-f4ec71684680d007b747516893fc49289d642515.tar.xz
LV2 MIDI 1.2
Diffstat (limited to 'ext')
-rw-r--r--ext/midi.lv2/manifest.ttl2
-rw-r--r--ext/midi.lv2/midi.ttl53
2 files changed, 23 insertions, 32 deletions
diff --git a/ext/midi.lv2/manifest.ttl b/ext/midi.lv2/manifest.ttl
index 2e78392..d1c77f8 100644
--- a/ext/midi.lv2/manifest.ttl
+++ b/ext/midi.lv2/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/midi>
a lv2:Specification ;
lv2:minorVersion 1 ;
- lv2:microVersion 1 ;
+ lv2:microVersion 2 ;
rdfs:seeAlso <midi.ttl> .
diff --git a/ext/midi.lv2/midi.ttl b/ext/midi.lv2/midi.ttl
index 5368fcb..b08ced5 100644
--- a/ext/midi.lv2/midi.ttl
+++ b/ext/midi.lv2/midi.ttl
@@ -1,26 +1,18 @@
# LV2 MIDI Extension
-# Copyright (C) 2008 David Robillard <d@drobilla.net>
+# Copyright 2008-2011 David Robillard <d@drobilla.net>
+# Copyright 2006 Lars Luthman <lars.luthman@gmail.com>
#
-# Based on lv2-midiport.h:
-# Copyright (C) 2006 Lars Luthman <lars.luthman@gmail.com>
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included
-# in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-# OTHER DEALINGS IN THE SOFTWARE.
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@prefix midi: <http://lv2plug.in/ns/ext/midi#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@@ -29,13 +21,14 @@
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-<http://lv2plug.in/ns/ext/midi> a lv2:Specification ;
- doap:license <http://usefulinc.com/doap/licenses/mit> ;
+<http://lv2plug.in/ns/ext/midi>
+ a lv2:Specification ;
+ doap:license <http://opensource.org/licenses/isc-license> ;
doap:name "LV2 MIDI Events" ;
rdfs:comment "Defines an LV2 event type for standard raw MIDI" ;
doap:release [
- doap:revision "1.1pre1" ;
- doap:created "2010-10-29"
+ doap:revision "1.2" ;
+ doap:created "2011-05-21"
] ;
doap:maintainer [
a foaf:Person ;
@@ -47,7 +40,6 @@
foaf:name "Lars Luthman" ;
] .
-
midi:MidiEvent a rdfs:Class ;
rdfs:label "LV2 MIDI event" ;
rdfs:subClassOf lv2ev:Event ;
@@ -59,23 +51,23 @@ restrictions to ease the burden on plugin authors:</p>
<ul>
<li>Running status is not allowed. Every event must have its own status
byte.</li>
-
+
<li>Note On events with velocity 0 are not allowed. These events are
equivalent to Note Off in standard MIDI streams, but in order to make
plugins and hosts easier to write, as well as more efficient, only proper
Note Off events are allowed as Note Off.</li>
-
+
<li>"Realtime events" (status bytes 0xF8 to 0xFF) are allowed, but may
not occur inside other events like they are allowed to in hardware MIDI
streams.</li>
-
+
<li>All events must be fully contained in a single data buffer, i.e. events
may not "wrap around" by storing the first few bytes in one buffer and
then wait for the next run() call to store the rest of the event. If
there isn't enough space in the current data buffer to store an event,
the event will either have to wait until next run() call, be ignored,
or compensated for in some more clever way.</li>
-
+
<li>All events must be valid MIDI events. This means for example that
only the first byte in each event (the status byte) may have the eighth
bit set, that Note On and Note Off events are always 3 bytes long etc.
@@ -84,4 +76,3 @@ restrictions to ease the burden on plugin authors:</p>
all events are valid.</li>
</ul>
""" .
-