embedding a patch on a website?

Dec 3, 2008 at 12:47am

embedding a patch on a website?

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

#41163
Dec 3, 2008 at 1:27am

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

#146352
Dec 3, 2008 at 5:02am

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

#146353
Dec 3, 2008 at 5:09am

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

#146354
Dec 3, 2008 at 7:40am

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.

#146355
Mar 9, 2011 at 4:46pm

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

#146356
Mar 9, 2011 at 5:43pm

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.

#146357
Mar 10, 2011 at 1:08am

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….

#146358
Mar 10, 2011 at 9:14am

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

#146359

You must be logged in to reply to this topic.