[LV2] Mapping of OSC to LV2 Atoms

David Robillard d at drobilla.net
Thu Oct 15 11:20:48 PDT 2015


On Mon, 2015-06-22 at 22:08 +0200, Robin Gareus wrote:
> On 06/19/2015 10:33 PM, Hanspeter Portner wrote:
> Hi
> 
> Let me echo thanks for doing this! Great news and good job. Kudos.
> 
> only a simple remark:
> 
> > even more exotic types
> > 'c'    char          LV2_Atom_Int
> > 'S'    char []       LV2_Atom_String
> > 'm'    uint8_t [4]   LV2_Atom_Chunk (type=MIDI__MidiEvent)
> 
> is Chunk correct here?
> 
> I'd expect a LV2_Atom_Event with type MIDI__MidiEvent (inside an Atom
> Sequence) in the plugin.
> 
> > '['']' ?             LV2_Atom_Vector (ctype=LV2_Atom_Int/Float/...)

An Event can only exist inside a Sequence, it is not actually an atom.

A MIDI message should simply be in an atom with type midi:MidiEvent.
You can also describe it verbosely as an Object with the MIDI
vocabulary, but that  probably makes little sense in this context.

-- 
dr




More information about the Devel mailing list