update p5.sound library
therewasaguy opened this issue · comments
Jason Sigal commented
There is a bug with sound on hello.p5js.org right now, as mentioned here and here.
It is fixed in newer versions so the library.
If simply swapping it out for the latest version doesn't work, I can look into it more
Scott Garner commented
Thanks for the head's up, Jason. I'm crunching to deliver a project this week, but will look into this as soon as I get a chance.
Scott Garner commented
I updated to the latest p5 and p5.sound. There had been a lot of API changes since the site launched—hopefully I made the right fixes.
Things seem to work, though I did notice an error onsketch.remove();
in Chrome:
p5.sound.min.js:4 Uncaught TypeError: Cannot read property 'disconnect' of undefined