- Edited
A small update. Tried to load and use p5.sound.js
but I get the error mentioned in this and this issues. The Web Audio API AudioWorklet
feature requires HTTPS to work and since bela.local
is served over HTTP it would not be possible to run examples for this library.
That said, you can still make your project communicate with an external p5
application served externally over HTTPS, if you are interested in doing that and have issues getting it to work don't hesitate to get in touch.
Both issues are still open, ideally p5.sound.js
should revert to the old scriptProcessor
when context is not secure, but I also understand that would take some time to get rolled in.