snding audio via UDP
I’m trying to send audio signal from a max patch to another max patch (different laptop). I’m trying with jit.net.send but I’m probably mission something and it’s not working. Any suggestions?
jit.net.send 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: http://www.remu.fr/sound-delta/netsend~/?page_id=7
Another two possibilities would be to use JackTrip ( https://ccrma.stanford.edu/groups/soundwire/software/jacktrip/ ), or the AUNetSend/AUNetReceive pair of audio units (I think they are shipped with XCode, but not sure about this).
Hope that helps,
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
whats wrong with TCP?
UDP is usually better for real-time stuff, better to drop the occasional packet than introduce delays.
I’ve had good results using netjack2, which is installed with jack. Also reastream vst on windows
so I’m using jit.net.send. 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….
The sender and receiver objects report their connection state. Do they link?
Perhaps take a peek at Zach Poff’s patch:
the sender patch connects but the receiving one no…one more step forward!
You forgot to write "ip" after the first @ in the receiving patch.
----------begin_max5_patcher---------- 597.3ocyVtsiaBCDF9Z3ovhKqRQ3CIP5UaeNphhb.2rNBrQ1NGZWs6ydsMPR 1CgrgRi5Mf7LNy7OeY7XdJLHZk7.SGA9F3GfffmBCB7lbFBZWGDUQOjWR09s EUwzZ5ZVzjFeF1Ai2t1PUl8bQgbemueJEFM+2LmeHLdNljhgs9Daq3hRlwGT zIixslNqcaslZxejKVuTwxMMRECyhSl.fjT2qTjeg0DXQ6ugW3Ekb0luhfmq GAsxqmnuq3zxNOMY07qZVS7ih.KbddNLz8XxeMaj02OnfvtWXT7zdfRxcCJB 1daFeGSJn4uLRLIoGlLcdCS7sH3YtmnjOlIvrdXx3U3e4EPRL7NzNzT5y8cC DXuUd5.5Fz70Bq6A0SXjqWWd7bxqpS3sVmDru1xR7UHr64GVmytX0vE1vs3X VTVFXXpkLAcUoeOIiWGfxlcFHWJD1hfULRsBnqhn1FBRusBSGxfgIi7vgMbS rhUxnZ1sOj.dq3o8jxT+3yYo8hGxvOo7u.RBlCT46.Ovqss83XDYdLjfhgXD 3gZox.RIojQhg3qxPreZChj0KDwC.h1pcYE0n3G7f7cvzmnnRt3seNiWrN6u lvZ4VUdWv6TE.dTuELsgKnFtTb9lrGO.mJpG4EELw42AUwKpk1gIshfj4AxT +EODRh6NY2hSogqcSXJt7HlaR+IWS+jqn+wSOtu6555I6B5AN95I4+K83tzc 35Y7++5Ms1WPOyte5g7YzS5.0Sy3BZc8NlR2FSuTrid2HUtkyl3WxEMK8QLR w1w61eVnKZOG9G.hBy.. -----------end_max5_patcher-----------
yes I’ve already changed it!
Forums > MaxMSP