Forums > MaxMSP

embedding a patch on a website?

December 3, 2008 | 12:47 am

Recently a friend of mine has asked me to embed a max patch into his website, but i have no idea if this can be done. Any pointers would be appreciated (please keep in mind that i am not that savvy with website building, but he has a web guy who doesn’t know max/msp)
-chuck
http://www.chuckbettis.com
*in case you wanted to see how bad my web building skills are


December 3, 2008 | 1:27 am

I’m afraid it isn’t (as far as I know, and if it is why hasn’t anyone told me!). But as you probably know the runtime is free to download so people can grab max patches from online to run on their own machines. You might also want to have a look at LILY which is a firefox add-on that uses javascript. It is quite intersting but has no MSP.

lh

http://www.lilyapp.org


December 3, 2008 | 5:02 am

what if it was a standalone? Does that change anything?
-chuck

________________________________
From: Luke

Sent: Tuesday, December 2, 2008 8:27:10 PM
Subject: [maxmsp] Re: embedding a patch on a website?

I’m afraid it isn’t (as far as I know, and if it is why hasn’t anyone told me!). But as you probably know the runtime is free to download so people can grab max patches from online to run on their own machines. You might also want to have a look at LILY which is a firefox add-on that uses javascript. It is quite intersting but has no MSP.

lh

http://www.lilyapp.org


December 3, 2008 | 5:09 am

You still can’t put it in your browser like it was a picture or youtube video I’m afraid. Your browser has no idea what max is or how to accomplish the tasks that max can. By the way, your website isn’t all that bad, though that picture scares me a little! Want a redesign?

And you toured with Fugazi?! That’s pretty amazing, I’m a little bit awe-struck.

lh


December 3, 2008 | 7:40 am

i’m not sure if it is realizable, but seems possible, that you make a flash front-end with OSC for max patch and run max at the server.


March 9, 2011 | 4:46 pm

Has anyone found a solution for this yet? It’s a great idea.


March 9, 2011 | 5:43 pm

I once developed a web site for a project that was using Ruby On Rails and sqlite3 as a database. At the same time I had Max with FTM installed on the server (OSX 10.5 Server on a MiniMac), so that it was possible to send UDP messages to the server from Max applications running on clients.



Jan
March 10, 2011 | 1:08 am

on the server side also php and java can send udp data…

on the client-(browser) side it doesn’t even need to be flash. you could build an interface using javascript (frameworks like jQuery or prototype make it very easy) and send the data (can be OSC or anything else) via an AJAX-call to a server, that then forwards it via udp to max [udpreceive].

the way back should work as well: The Max-patch sends data via [udpsend] to the server and the server pushes the information to the client-brower i.e using a socalled unterminated http-request (also called Comet).

For the sending/pushing of the data from and to the browser this might be interesting:

http://www.pubnub.com/

jan

p.s. This is more for a nerd-mind-f*** – But as max patches are saved using the JSON format, you could theoretically even create an entire max-patch from the browser, save it on the server and load it automatically into a patcher-object inside a max-patch….


March 10, 2011 | 9:14 am

I’m having good results at the moment using net.loadbang.web.

http://www.loadbang.net/space/Software/net.loadbang.web

oli

———————————————
http://www.olilarkin.co.uk / http://olilarkin.blogspot.com


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