David Robillard
type: Person

midi
type: Specification
license: isc
name: LV2 MIDI
shortdesc: A data type for raw MIDI.
maintainer: David Robillard
developer: Lars Luthman
release:
  revision: 1.4
  created: 2011-11-21
  file-release: lv2-midi-1.4.tar.bz2
  blame: David Robillard
  changeset:
    item: Update packaging.
    item: Improve documentation.
release:
  revision: 1.2
  created: 2011-05-26
  file-release: lv2-midi-1.2.tar.bz2
  blame: David Robillard
  changeset:
    item: Add build system for installation.
    item: Switch to ISC license.
release:
  revision: 1.0
  created: 2010-10-04
  file-release: lv2-midi-1.0.tar.gz
  blame: David Robillard
  changeset:
    item: Initial release.
documentation: This extension defines a data type for a MIDI message, midi:MidiEvent, which is normalized for fast and convenient processing by plugins. It is particularly useful as the payload of an Atom or Event.

LV2 MIDI message.
type: Class
subclass of: Event
subclass of: Atom
documentation: A single raw MIDI message (i.e. a sequence of bytes). This is equivalent to a standard MIDI messages, except with the following restrictions to simplify handling: Running status is not allowed, every message must have its own status byte. 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. "Realtime messages" (status bytes 0xF8 to 0xFF) are allowed, but may not occur inside other messages like they can in standard MIDI streams. All messages are complete valid MIDI messages. 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. Where messages are communicated, the writer is responsible for writing valid messages, and the reader may assume that all events are valid.