pd4web

pd4web compiles PureData patches with external objects for Wasm, allowing to run entire patches in web browsers.


Keywords
libpd, webpd
License
MIT
Install
pip install pd4web==1.2.2

Documentation

pd4web

Logo

pd4web: Running PureData Patches with Externals on Web

Release Version DOI

Downloads License

Tests

pd4web empowers you to execute PureData patches directly in web browsers using advanced Web Audio technologies. This tool distinguishes itself from alternative approaches like hvcc and WebPd by compiling the source code of libpd, a feat made possible largely due to the contributions of claudeha. With pd4web, you can compile virtually any PureData vanilla patch, along with a wide list of externals.

Examples

Click to Expand!

1. Simple Patch

Logo

2. Interaction with p5js

Logo

WebSite

3. Live Score (VexFlow)

Logo

WebSite


Questions, doubts, help

  • Check the Discussions Sections here.

Issues

  • Check the Discussions Issues here.

Acknowledgements

  • Zack Lee for the GUI interface for patches;
  • Jonathan Wilkes, Ivica Ico Bukvic, and the Purr Data team;
  • Claude Heiland-Allen for creating empd;
  • Dan Wilcox for libpd;
  • Miller Puckette and the Pd community for developing and maintaining Pd;

Details and Documentation

For more details and documentation, please visit the Docs section of this project.

Contribute

Contribute to enabling running PureData in WebBrowsers! These are the main areas for your contributions:

  • The pd4web/lib/ folder, which contains files with special steps for compiling certain externals/libraries.
  • The pd4web/src/template.c, used to pd4web to build the main.c file.
  • The pd4web/pd4web.py, which configures the main.c file.