This extension defines a generic time-stamped event port type, which can be
used to create plugins that read and write real-time events, such as MIDI,
OSC, or any other type of event payload. The type(s) of event supported by
a port is defined in the data file for a plugin, for example:
<http://example.org/some-plugin>
lv2:port [
a ev:EventPort, lv2:InputPort ;
lv2:index 0 ;
ev:supportsEvent <http://lv2plug.in/ns/ext/midi#MidiEvent> ;
lv2:symbol "midi_input" ;
lv2:name "MIDI input" ;
] .
Supports event type
Indicates that this port supports or "understands" a certain event type.
For input ports, this means the plugin understands and does something useful
with events of this type. For output ports, this means the plugin may generate
events of this type. If the plugin never actually generates events of this type,
but might pass them through from an input, this property should not be set (use
ev:inheritsEvent for that).
Plugins with event input ports must always gracefully handle any type of event,
even if it does not 'support' it. This property should always be set for
event types the plugin understands/generates so hosts can discover plugins
appropriate for a given scenario (e.g. plugins with a MIDI input).
Hosts are not expected to consider event ports suitable for some type of
event if the relevant :supportsEvent property is not set, unless the
lv2ev:generic property for that port is also set.
- Domain
- lv2:Port
- Range
- ev:Event