ossia / libossia

A modern C++, cross-environment distributed object model for creative coding and interaction scoring
https://ossia.io
GNU Lesser General Public License v3.0
206 stars 33 forks source link

ossia.device (+ossia object) and osc messages : FR #603

Closed matcham closed 3 years ago

matcham commented 3 years ago

When an ossia.device is exposed to osc with « expose osc / oscquery » it will output received osc messages that do not match any existing parameter prepended with « osc » This is a very useful feature. It would be great to be able to send osc messages in the same way : Sending message to ossia.device inlet prepended with « osc » : osc /fader12 1.234

(A message prepended with « set » do not work in this case, as it doesn’t match a valid parameter address)

The ossia object doesn’t seems to output osc messages at all. It would be very useful to make it behave the same way as ossia.device : send & receive osc messages that do not match valid ossia parameters.

avilleret commented 3 years ago

since we can expose a device with several protocols at the same time and several client can be connected, we should provide a way to select which client to send the data. in the meanwhile, osc message will send the data to the first protocol first client.