processing / p5.js-video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update p5.sound library

therewasaguy opened this issue · comments

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

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.

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