xon
New Member
Posts: 1
|
Post by xon on Feb 4, 2019 17:03:31 GMT
Hello,
Can anyone please help me with this issue ? I am looking for a solution for months....
I am trying to send an array to another application by OSC, via the following function in Lemur :
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.
Many thanks,
Christophe
|
|
|
Post by xPsycHoWasPx on Feb 5, 2019 11:41:23 GMT
OSC command for sending your array seems to be ok.
2 Questions:
1. Did you setup the IP and port of computer running supercol in lemur app port 0 proper? 2. Does the address work if you send single values?
Lemur OSC can send arrays up to 256 bytes, and you can easily mix an array of text with an array of numbers. As long they not bigger than 256 bytes combined (lemur will cut rest of the array away after 256 bytes because it can't send bigger msgs than that).
*i created a new board for scripting questions etc, and moved your thread there And I added a ? to your subject title.
|
|