this is insane lol you have the webpage in pd send the webpage to the browser before the client(in the webpage) is connected to the server. just exactly how does that work? anyways, the tof library and zexy library things , couldnt they now be replaced with vanilla objects like list to/from symbol? not sure where but i had to add an import xexy object to get this to work, thanks, would like to sgtreamline this thing where that only a few sockets could be open something like this could be invaluable for FUDI from browser to pd and back
On Sat, Jan 18, 2014 at 1:47 PM, Nicolas Lhommet nlhommet@gmail.com wrote:
Sorry, correct links to forums :
http://puredata.hurleur.com/sujet-10062-websocket-server- patch-extended-demo
http://codelab.fr/4769 (registration required to get the file)
2014/1/18 Nicolas Lhommet nlhommet@gmail.com
"websocket-server in a patch.pd" single pd patch file contains a reusable and fully documented websocket server, meant as an easy way to experiment with Pd<->web-browsers communications through websockets, without the need of other software or any external to compile
A demo is included in the same patch : 'Flames', a simple cross-browser, multi-touch and multi-player graphical interface which makes Pd play creepy sounds :) and its javascript code for websockets is also documented.
Just try it : open it with Pd-extended 0.43.4 on Windows, Mac or Linux, fire any recent web-browsers (on same machine or other computer, smartphone or tablet on same local network) with the URL provided in the main window, and you're good to go ! You can download the patch from these forums : http://puredata.hurleur.com/sujet-10062-websocket-server- patch-extended-demohttp://codelab.fr/4769 (registration required to get the file)
direct link to patch : http://puredata.hurleur.com/attachment.php?item=4945
Cheers,
Nicolas Lhommet
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list