Hi padawan12
padawan12 a écrit :
I've only played with OSC a little, but some things that come to mind:
- OSC lets you pack things into "bundles" and it might be better to
use blocks of 32 or 64 values rather than sending each one individually. That way your packet overhead is smaller.
I didn't dig very much much into what OSC bundles were all about but it seems to me that it looks more like something to send messages to multiple destinations at the same time than to send multiple values to only one dest. Somebody correct me if I'm wrong...
- Beware of what happens to floats, I seemed to get some truncation
but the spec lists them as IEEE32s, check on what you are getting at the receiving end.
I'd have to check that yes, anyway my scope is only a kind of scope, it doesn't have to be very very accurate in term of values (-:
- It's a UDP protocol so bear in mind that over a wide area link
you can't be sure of the delivery order (or of delivery at all).
I'll bear that in mind as well.
see
Thanks, worth checking,
Jé
On Sun, 03 Dec 2006 22:21:17 +0100 Jerome Tuncer columbiatwo@free.fr wrote:
Hi everyone,
In the process of building some kind of audio oscilloscope in Gem I'm trying to send values from a table/array from one computer's PD to another's through OSC.
At the moment, my chosen solution is to have a counter scan the table, then pack the values (X & Y) and send them through a:
[send /OSC/Whatever/The/Name $1 $2(
Anyway, I do have this feeling that this is not a smart solution.
Anyone has ever done it before (send array values through OSC)/has a cleverer idea ?
Danke,
Jérôme
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list