snding audio via UDP

Feb 3, 2013 at 8:05pm

snding audio via UDP

Hello guys,
I’m trying to send audio signal from a max patch to another max patch (different laptop). I’m trying with but I’m probably mission something and it’s not working. Any suggestions?

Feb 3, 2013 at 8:05pm

here’s the patch

  1. udp.rtf
Feb 3, 2013 at 10:50pm only works with matrices. You need to convert your MSP signal to a matrix, as in the “audio-over-network” patch in the jitter-examples/audio folder.

Or you can try the netsend~ external:

Feb 4, 2013 at 12:39am

Another two possibilities would be to use JackTrip ( ), or the AUNetSend/AUNetReceive pair of audio units (I think they are shipped with XCode, but not sure about this).

Hope that helps,

Feb 4, 2013 at 1:41am

I think netsend is not working with max 6 and unfortunately Ive tried the AUNetSend but it’s crashing in about 2 seconds… I’ll have a look to the jitter examples and jack trip, thanks guys

Feb 4, 2013 at 2:54am

whats wrong with TCP?

Feb 4, 2013 at 3:45am

UDP is usually better for real-time stuff, better to drop the occasional packet than introduce delays.

Feb 4, 2013 at 8:22am

I’ve had good results using netjack2, which is installed with jack. Also reastream vst on windows

Feb 4, 2013 at 2:46pm

so I’m using Here’s another issue: if i send audio within the same patch everything is working ok, but then I tried with two different laptops (I created a network, connected both laptop to the same network, checked ip and port) but couldn’t received anything….

Feb 4, 2013 at 3:26pm

The sender and receiver objects report their connection state. Do they link?

Feb 4, 2013 at 4:51pm

they don’t connect. Actually I have this error message on max window “data is being input faster than i can be sent” here are the parches..

  1. receive.rtf
Feb 4, 2013 at 5:49pm

Perhaps take a peek at Zach Poff’s patch:

Feb 5, 2013 at 5:48pm

the sender patch connects but the receiving one no…one more step forward!

Feb 5, 2013 at 6:15pm

You forgot to write “ip” after the first @ in the receiving patch.

– Pasted Max Patch, click to expand. –
Feb 6, 2013 at 9:05pm

yes I’ve already changed it!


You must be logged in to reply to this topic.