Skip to main content

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

Project description

pd4web

Logo

pd4web: Running PureData Patches in Browsers with Web Audio

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.

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](https://mathr.co.uk/empd/) which was super helpful for building the emscripten backend; * Chris McCormick and Dan Wilcox for the inspiration for the project; * 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.

Examples

Name Description Link
Algorithm I It is a piece where I use pmpd and plaits~ to make Algorithm Music. WebSite
Compiled I Live-Electronics music for Trumpet in developing yet! WebSite

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pd4web-1.2.2.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distribution

pd4web-1.2.2-py3-none-any.whl (1.2 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page