max controlled over network...?
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
Hi d.w.str_,
You could use a push-servive.
I published one tool for that here:https://cycling74.com/tools/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
...if you rely on public IP you my have duplicates when several users call from the same LAN behind a router.
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
Oli Larkin was working on a patch to control Max from a web browser
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