Forums > MaxMSP

max controlled over network…?

February 23, 2012 | 10:40 am

Hi,
The setup I am aiming for is this:
a max patch running in a gallery space to manipulate sound / video. the patch is controlled by users online through a downloadable patch that connects to the gallery and sends just control data to the gallery patch.

i thought this would be possible using udpsend/receive and opening up (port forwarding) a port at the gallery end. This should work for one user but if more people are online using the patch i would like to queue the users trying to connect.
Does anyone know how this could be done using Max?

in the downloadable patch it is set so their public ip is sent to the gallery when they load the patch but i’m not sure how i can check from the gallery who is connected over time.

any help / hints would be greatly appreciated. this is all taking place on OS X 10.6.4
thanks,
d



Jan
February 23, 2012 | 11:26 am

Hi d.w.str_,

You could use a push-servive.
I published one tool for that here:http://cycling74.com/toolbox/jm-pubnub/
(Note that "only" 5 million messages per month are for free…)

With this you can just assign a random/unique key to every patch to queue the users.

This could be done in JS by getting the the timestamp in milliseconds when opening the path for the first time.

Jan



Jan
February 23, 2012 | 11:34 am

…if you rely on public IP you my have duplicates when several users call from the same LAN behind a router.


February 23, 2012 | 12:00 pm

thanks Jan,

good point about the public ip problem. i will certainly take a look at the tool you published when i get a chance.

will report back…….

david


February 23, 2012 | 10:04 pm

Oli Larkin was working on a patch to control Max from a web browser

http://olilarkin.blogspot.com/2011/05/maxwebcontrol-v0-1.html


February 23, 2012 | 10:40 pm

thanks grizzle.

the patch by Oli looks very nice indeed.
i’m still plugging away at w few different things but these suggestions really help so much!

thanks,
d


Viewing 6 posts - 1 through 6 (of 6 total)