@set_osc_handling_double(bool)


changes the handling of floating point values in OSC messages. OSC float are only required to be 32 bits. Nevertheless, several implementations proposes 64 bits representation (aka IEEE double).

Antescofo default behavior is to send floating point values as 32 bits floats. However, Antescofo floating point values are represented as double. So the default behavior may result in silent overflow when sending integers with the 64 bits object.

A call to @set_osc_handling_double(true) switches the behavior to send double. The drawback is that this feature is not implemented in all OSC packages.

When receiving a message, floats and double are always correctly handled if the sender correctly handle them. Notice that receiving a double never result in an overflow.

Beware that a message as a limited size that depends both on the sender and receiver implementation limitation. The current Antescofo raw buffer size is 5096. The use of 64 bits integers increase the size of a message.

See the Osc Messages section in the reference manual and functions @set_osc_handling_tab and @set_osc_handling_int64.