Getting the same. If you’re using p5-sound.js from CDN or npm, then, I would say git clone the recent one from github in use that one.
Update
Ok, so to solve:
-
git clone git@github.com:processing/p5.js-sound.git
-
npm install
-
grunt
-
- copy
lib
library to your project OR replace node_module (don’t forget to fix) or add as a static.
- copy
-
- also, for my case, I need to move p5.sound* files to
addons
dir (cd ~/lib && mv *.p5.sound.* ./addons
)
- also, for my case, I need to move p5.sound* files to
That’s it.