[LV2] Mapping of OSC to LV2 Atoms

Spencer Jackson ssjackson71 at gmail.com
Thu Oct 15 12:39:45 PDT 2015


On Thu, Oct 15, 2015 at 12:29 PM, David Robillard <d at drobilla.net> wrote:

> On Fri, 2015-06-19 at 22:33 +0200, Hanspeter Portner wrote:
>
> > * The four exotic OSC types 'T'rue, 'F'alse, 'N'il, 'I'nfinitum have
> >   no associated data in OSC. Should they be mapped to atoms and
> >   packed into the arguments tuple or only show up in the message
> >   format string like in OSC?
>
> I don't know about nil and infinitum, but it seems true and false
> clearly map to Bool.  There is no type string for atom objects, so a
> true bidirectional mapping shouldn't be missing bits and rely on some
> external funny thing (a format string) to fill in the gaps, IMO.
>

The  OSC spec works this way, with NO bits at all in the data section to
correspond to these types. So I maintain my previous argument. As Hanspeter
said, it would require a change in any existing logic that handles OSC
messages...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20151015/825ea649/attachment.htm>


More information about the Devel mailing list