# P5.sound problem with chrome and opera

**URL:** https://discourse.processing.org/t/p5-sound-problem-with-chrome-and-opera/19500
**Category:** Libraries
**Created:** [April 7, 2020, 11:01am UTC](https://discourse.processing.org/t/p5-sound-problem-with-chrome-and-opera/19500 "2020-04-07T11:01:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![iana](https://avatars.discourse-cdn.com/v4/letter/i/a87d85/32.png) [@iana](https://discourse.processing.org/u/iana)
#### Post date: [April 7, 2020, 11:01am UTC](https://discourse.processing.org/t/p5-sound-problem-with-chrome-and-opera/19500/1 "2020-04-07T11:01:21Z")

</div>

function setup(){  
}

It seems that any p5.js code (as above) in combination with loading any p5.sound library results in an error in latest versions of Chrome and Opera when run on a http web server (Apache linux). Running it on a local Apache web server such as mac osx with chrome and Opera is fine. Firefox and Safari don’t seem to have this problem.  
Both Chrome and Opera report an error: “cannot read property ‘addModule’ of undefined.” I’m wondering if anyone has seen this and has any advice.  
My guess is that it is a security issue with these browsers. Can anyone test on https?

---

<div class="post-metadata">

### Author: ![brianpeiris](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/brianpeiris/32/8796_2.png) [@brianpeiris](https://discourse.processing.org/u/brianpeiris)
#### Post date: [April 13, 2020, 7:08am UTC](https://discourse.processing.org/t/p5-sound-problem-with-chrome-and-opera/19500/2 "2020-04-13T07:08:30Z")

</div>

This is a known issue: [https://github.com/processing/p5.js-sound/issues/409](https://github.com/processing/p5.js-sound/issues/409)

---

<div class="post-metadata">

### Author: ![iana](https://avatars.discourse-cdn.com/v4/letter/i/a87d85/32.png) [@iana](https://discourse.processing.org/u/iana)
#### Post date: [April 14, 2020, 10:22am UTC](https://discourse.processing.org/t/p5-sound-problem-with-chrome-and-opera/19500/3 "2020-04-14T10:22:57Z")

</div>

Thank you Brian. I will close this topic.  
cheers,  
Ian
