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

**URL:** <https://discourse.processing.org/t/getting-a-p5-js-sketch-to-play-sound-on-an-ios-device/1907>\
**Category:** p5.js\
**Created:** [July 19, 2018, 2:37pm UTC](https://discourse.processing.org/t/getting-a-p5-js-sketch-to-play-sound-on-an-ios-device/1907 "2018-07-19T14:37:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![angeltapes](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@angeltapes](https://discourse.processing.org/u/angeltapes)\
**Post date:** [July 19, 2018, 2:37pm UTC](https://discourse.processing.org/t/getting-a-p5-js-sketch-to-play-sound-on-an-ios-device/1907/1 "2018-07-19T14:37:31Z")

</div>

Hi all I’ve made some audio experiements with p5.js and the sound library -  
[https://angeltapes.github.io/Dwalm/](https://angeltapes.github.io/Dwalm/)

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?

Thanks,  
Bobby

---

<div class="post-metadata">

**Author:** ![bmoren](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/bmoren/32/68_2.png) [@bmoren](https://discourse.processing.org/u/bmoren)\
**Post date:** [July 19, 2018, 3:43pm UTC](https://discourse.processing.org/t/getting-a-p5-js-sketch-to-play-sound-on-an-ios-device/1907/2 "2018-07-19T15:43:22Z")

</div>

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

check this out: [https://www.ibm.com/developerworks/library/wa-ioshtml5/index.html](https://www.ibm.com/developerworks/library/wa-ioshtml5/index.html)

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 🙂
