[gephex-devel] gephex-0.5: OSC and link serialization
Martin Bayer
martin at gephex.org
Sat Feb 26 14:29:33 CET 2005
> Starting point was the observation that we wanted to build OSC support
> into the core of gephex-0.5. The most basic and at the same time most
> important
> use of OSC we could think of was support to change inputs of effects via
> OSC
> (e.g. control a xfader).
The other direction, sending OSC messages with the value of some link,
is also important. With bidirectional support for OSC it is quite simple
to develop new software or hardware user interfaces.
> So the idea to solve this is:
>
> 1/ define standard serialisations of all used types to OSC
>
> 2/ define a standard mapping between these OSC formats and s-expressions
> (for the command line we think this is a good format, e.g. a color
> could be represented as (color <r> <g> <b>))
>
> 3/ remove the serialise and deserialise method form the link interface
With change 3. the only way to change or read the value of a effect
parameter is to receive or send an OSC message.
> 4/ add "creator" units which accept OSC input and initialise a link with
> this serialised value
Inputs:
-osc stream
-osc address
-old value
Output:
-new value
Behavior:
If there is no osc message in the stream with the specified osc address
new value=old value otherwise the value from the message is the new
output value.
Usage:
old value and new value is connected to the same link.
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.gephex.org/pipermail/gephex-devel/attachments/20050226/2a91fddd/signature.pgp
More information about the gephex-devel
mailing list