Getting a P5.js sketch to play sound on an iOS device

Hi all I’ve made some audio experiements with p5.js and the sound library -

I’d like to use these on my iOS device (iPhone 6s) but I can’t get any sounds to work, either in Safari or Chrome. Is this a known compatibility issue?


This is a known issue / choice apple made on ios.

check this out:

this article is a bit old so things might have changed a bit. it’s been a little bit since I’ve tried to solve this issue myself. Others might have other insights, but this is a start :slight_smile: