# Remove Audio Library

**URL:** https://discourse.processing.org/t/remove-audio-library/32381
**Category:** Beginners
**Created:** [September 22, 2021, 8:04pm UTC](https://discourse.processing.org/t/remove-audio-library/32381 "2021-09-22T20:04:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![philspitler](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@philspitler](https://discourse.processing.org/u/philspitler)
#### Post date: [September 22, 2021, 8:04pm UTC](https://discourse.processing.org/t/remove-audio-library/32381/1 "2021-09-22T20:04:22Z")

</div>

Hi, I am getting an audio error when using P5 in chrome.

```auto
p5 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.

```

I understand why I’m getting the error.

I am not using any audio in my sketch, can I remove the offending library / code?

Thanks.

Phil

---

<div class="post-metadata">

### Author: ![KumuPaul](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kumupaul/32/13072_2.png) [@KumuPaul](https://discourse.processing.org/u/KumuPaul)
#### Post date: [September 22, 2021, 8:21pm UTC](https://discourse.processing.org/t/remove-audio-library/32381/2 "2021-09-22T20:21:50Z")

</div>

Normally you wouldn’t see this error unless you were actually using something from p5.sound. It is generally a harmless error, but if your editor has automatically included this add-on and you aren’t using it you can definitely remove the `<script>` tag for p5.sound from your index.html (I believe [editor.p5js.org](http://editor.p5js.org) includes this add-on automatically).

---

<div class="post-metadata">

### Author: ![philspitler](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@philspitler](https://discourse.processing.org/u/philspitler)
#### Post date: [September 23, 2021, 4:06am UTC](https://discourse.processing.org/t/remove-audio-library/32381/3 "2021-09-23T04:06:43Z")

</div>

Thanks @KumuPaul that worked perfectly.

Phil
