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

February 16, 2015 | 2:54 pm

I know this is an old post (2011), but a few students here have been asking about the possibility of viewing (and running?) the Max Patch on a web browser somehow. Not sure if there has been any progress. From my perspective, it would certainly provide new opportunities for making an interactive e-book on Max/MSP in ways similar to those used for Javascript-based instruction. Max does just about everything else so well, so perhaps this "webifying" is just not really a good fit.

February 16, 2015 | 9:49 pm

Ahmet Kizilays "Patch to Canvas" lets you view patches in a browser. It’s not perfect but useful for what it is. http://www.ahmetkizilay.com/

http://www.ahmetkizilay.com/ptc/index.html

February 16, 2015 | 11:17 pm

I’m an idea man, this thread gives me an idea:
it’d be great if Cycling74 made a MIRA-like interface for Max viewable on the web :D
(or develop MIRA from just iOS to a wider range of web-viewable tech)

February 17, 2015 | 12:11 am

Closest I’ve gotten as of late is sending serial data from Max to a NodeJS server. Another potential avenue. Plus extra controller ideas.

February 17, 2015 | 12:22 am

another way to make a web page control a max patch: https://github.com/olilarkin/wsserver

It’s looking like PD patches will soon be able to be run in the browser https://github.com/sebpiq/WebPd

February 17, 2015 | 6:19 am

I appreciate all of these comments, and I probably should have been clearer with my query. I am seeking the interactive, visual Max Patching Window within a web browser. So, the patch has to be visible, interactive, and run just as it does in the current patching window. Ahmet’s code looks to be the closest to the desired feature, but appears to be only a renderer (great start though). I did not see a source code repository (e.g., github) for his demonstration–so people can easily adapt to any server. Raja’s point seems spot on — the idea for Cycling is to broaden the interface so that is not as limited. Currently, that broadening is best achieved through HTML5/CSS/JS since that can then be pushed to any platform.

February 17, 2015 | 6:32 am

This Chrome Web Labs project looks like it may have some the pieces you would need:

https://github.com/GoogleChrome/ChromeWebLab/tree/master/Orchestra/

February 17, 2015 | 6:39 am

@antialias: Chrome Web Labs appears to be missing the key part: the patching window interface (i.e., seeing the patch itself (not just a presentation) and being able to edit and interact with it).

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