jamoma / JamomaCore

Jamoma Frameworks for Audio and Control Structure
Other
36 stars 14 forks source link

Osc padding issue #390

Open avilleret opened 8 years ago

avilleret commented 8 years ago

When trying to send an array of 1000 float through a Jamoma return, I got this message in console on client side :

TTOscSocketListener : "element size must be multiple of four"

It runs on a Raspberry Pi, the sender code is here : https://github.com/avilleret/gorgone/blob/0faa634304e24d681ac805a55861b5b9a4d53a03/src/gorgone.cpp#L114-L125

and the receiver is a Puredata patch : https://github.com/avilleret/gorgone/tree/0faa634304e24d681ac805a55861b5b9a4d53a03/Pd

Both runs on the same Raspberry Pi 2 with Jessie

avilleret commented 8 years ago

after some tries, it seems that the limit is around 810 values per array. And since the error does not appear each time I guess a transmission failure. So is there a Jamoma method / paramater to automatically split too long message into smaller one to increase the reliability ?