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
204 stars 33 forks source link

ossia.remote_array bug #800

Open navid opened 1 year ago

navid commented 1 year ago

in the provided pattern matching example under Ossia.remote's help patch (last tab):

Ossia.remote_array object (in the bottom left corner of the window) is buggy in conjunction with the "ossia.parameter my_spat.{1..5}/source.{1..3}" object on the top:

only the rightmost slider triggers an output

the same behaviour is true when looking at the Ossia.remote_array's help patch.

navid commented 1 year ago

ossia.remote_array seems like a powerful feature when used in conjunction with ossia.parameter's pattern matching capabilities. Perhaps ossia.remote_array could be hardcoded (as external as a native ossia feature) to accept lists?

bltzr commented 1 year ago

Hi Nav et al.

Yep, this abstraction is a workaround that I did a while ago. I don't think it's super robust, and accepts many levels of pattern-matching. This should definitely be a good idea to make this into a C++ external, indeed.

jcelerier commented 1 year ago

I can look into it, what's the expected behaviour of this object?