savonet / liquidsoap

Liquidsoap is a statically typed scripting general-purpose language with dedicated operators and backend for all thing media, streaming, file generation, automation, HTTP backend and more.
http://liquidsoap.info
GNU General Public License v2.0
1.41k stars 130 forks source link

Incomplete OSC support #317

Open sebleblanc opened 8 years ago

sebleblanc commented 8 years ago

The OSC "int" and "array" handling functions are missing. OSC has a few types of values:

The last two are missing from Liquidsoap. Furthermore, on receiving arrays, Liquidsoap reports an error. (sender is SuperCollider, command: NetAddr("127.0.0.1", 7777).sendMsg('/path', [1,2,3,4]) if it matters)

Handler not implemented: 'b'
Thread 1 killed on uncaught exception LO.Unhandled
Called from file "thread.ml", line 37, characters 8-14

Additionally, OSC has "bundles", which are values grouped in the same message, to be applied simultaneously. Liquidsoap does not seem to support them.

smimram commented 8 years ago

I just added support for int which was easy. Support for blobs (= lists / arrays) is a bit more complicated. Why do you need that for?

sebleblanc commented 8 years ago

I do not "need" it per se. Int support is a major improvement, and arrays would make the implementation complete.

Thank you!