:watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon:

Hi everyone

Just wanted to let you know that there is now a port of libpd that runs in your browser.
libpd-wasm

So far, you can use it in 2 ways, if you just want to mess around with your patches you can check out the playground:
https://hyrfilm.github.io/libpd-wasm/

Or if you want to use it as a library:
(similar to how you would embed libpd)
https://github.com/hyrfilm/libpd-wasm

Bundled objects:

  • vanilla pd (all objects)
  • extras (all objects)
  • cyclone (99%ish of all objects)
  • ELSE (97%ish of all objects)

The C-code was compiled to a WASM bundle that gets wrapped in a WebAudio node.
To use it from JS/TS you would do this:

npm install libpd-wasm

:watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon: :watermelon:

Peace out!
:v: :v: :v: :v: