I've only played with OSC a little, but some things that come to mind:

1) 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.

2) 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.

3) 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).

see

http://opensoundcontrol.org/spec-1_0

On Sun, 03 Dec 2006 22:21:17 +0100
Jerome Tuncer <[EMAIL PROTECTED]> 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
> 
> 
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to