NEW : pd-vanilla version requiring only mrpeach external library !
download link (and notes) : https://sourceforge.net/projects/websocketserverinapatch/files/
"websocket-server in a patch.pd" single Pd file contains a reusable and fully documented websocket server, meant as an easy way to experiment with Pure Data <-> web-browsers communications through websockets, without the need of other software (like node.js or python) or any specific external to compile (just one deken library is required).
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 :)
Just try it : In Pd (vanilla) on Windows, Mac or Linux, install the 'mrpeach' library via 'Help->Find externals' menu, then open the patch and fire any recent web-browsers (on same machine or other computer, smartphone or tablet on same local network) with the URL provided at the top of main windows, and you're good to go !
Websocket Server in a Pure Data patch
a single patch for direct communications between Pd and web browsers
Brought to you by:
nicolas-lhommet
Downloads:
0 This Week
Windows
Mac
Linux
BSD
ChromeOS