Forums > MaxMSP

(bug?) high speed dataflow from network (ethersense & udpreceive)

January 7, 2008 | 5:57 am

Hi all,

I’m facing a problem with a max application i’m developing.
this is a bit complex so i’ll try to be clear.
I created a real time feed/subscription system for ethersense cards, which means my patches are able to subscribe/unsuscribe to a dataflow coming from the network.

The problem is that max hangs when subscribing to a high speed dataflow (sampling rate is 2 ms or less).
i suspect this comes from the udpreceive object, since it drops packet during the subscription routine.
(i had already post about his friend udpsend :, it could be the same reason…)

maybe the queue is full and max doesn’t like it (?)
i put it to 4096 using the maxqueuesize message.

the crash doesn’t occur when sampling rate is set to 5 ms.

the crash doesn’t occur when override is on, even at 2 ms.

the subscription routine is very simple, i juste store a name into a coll.

well, i’m a bit lost a this point…

any idea?



ps : some questions about max 5 and network naturally come :

will max 5 be more network oriented than the current version?
-choosing the network interface you want to use with your udp objects?
-correctly working udp/tcp objects?
-web compliant?

Viewing 1 post (of 1 total)