Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

sending an array via OSC to another application

Christophe Nov 06, 2018 11:59PM CET


I am trying to send an array to another application by OSC, via the following function :
oscout(0, '/spat/serv', {0, MultiBall.x, MultiBall.y});

The target and address are good, but the OSC message is not correctly sent out, maybe because it is an array ?
Do you have an idea how I can send the array correctly to the other application.

In SuperCollider, I used to use this syntax with an * to send an array to the other application, and it works :
~serverGRISAdress.sendMsg(*["/spat/serv", 0, (pi*2).rand, (pi/2).rand ]);

Maybe I miss an * in my function ? :
oscout(0, '/spat/serv', {0, MultiBall.x, MultiBall.y});

Hope it is clear.



Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found