Forums > MaxMSP

[sharing] max web control v0-1

May 26, 2011 | 3:09 pm

i uploaded a first version of some glue code i’ve been developing to control a max patch from the web browser using net.loadbang.web and jqueryui/ajax

some of the sound file player controls in the demo are not fully working yet

have a look here:

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

it’s working really nicely on wired and wireless connections, and works on phone browsers etc

oli

http://www.olilarkin.co.uk


May 27, 2011 | 9:20 pm

Hey that looks real cool man. I’m just in the middle of building something with net.loadbang.web and JQuery as it happens. My traffic is going in more the server to client direction than client to server. The application is a phone based Heads up display that’s gonna sit on a physical midi controller.

I am curious how you are getting realtime data to the client like the VU meter. Digging around it seems there are a few flavours of ‘push’ web coms like comet and a HTML5 one that’s not quite standardized yet.

My current model is a adaptive polling system that polls with ajax more often when it receives more data. It’s not ideal, I’d really like to use something a bit more elegant but have no idea how to set it up with JSP.


May 28, 2011 | 9:03 pm

to be honest i had lots of difficulty trying to find good docs about the jsp attributes which is how net.loadbang.web sends data from max to the web page, but i got it to work by looking at cassiel.JWebFun.maxpat

essentially i make a regular ajax request for status.jsp, which displays a serverside variable jsonparams which contains the state of the max patch. At the moment i am updating the display and status quite frequently, but it has been working quite well, would be good to soak test it for a long time though.

hth

oli

—-
Endless Series v3 out now – A unique synthesis and effect plugin based on the Shepard Tone auditory illusion

http://www.olilarkin.co.uk


May 30, 2011 | 1:03 pm

Here’s a little video of my implementation of net.loadband.web

http://stuffage.blackshades.co.uk/post/5999400285/ableton-max-for-live-jquery

the bars here are updating via an ajax polling function.


October 14, 2011 | 11:25 pm

that is great, wish Jweb got some more love on max6


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