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.
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.
Endless Series v3 out now – A unique synthesis and effect plugin based on the Shepard Tone auditory illusion