# Audio does not come up in the browser after build p5js into github

**URL:** <https://discourse.processing.org/t/audio-does-not-come-up-in-the-browser-after-build-p5js-into-github/39967>\
**Category:** Libraries\
**Tags:** homework\
**Created:** [December 1, 2022, 4:36pm UTC](https://discourse.processing.org/t/audio-does-not-come-up-in-the-browser-after-build-p5js-into-github/39967 "2022-12-01T16:36:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [December 1, 2022, 4:54pm UTC](https://discourse.processing.org/t/audio-does-not-come-up-in-the-browser-after-build-p5js-into-github/39967/2 "2022-12-01T16:54:58Z")

</div>

> [@vrtx](#):
>
> , the sound do not come up in the browsers.

[**getAudioContext()**](https://p5js.org/reference/#/p5/getAudioContext)

> [@Pls critique my code!](https://discourse.processing.org/t/pls-critique-my-code/12855/2):
>
> Not at all! Callback preload() is the single best place to load assets. star_struck BtW, you’ve got some missing indentation on your posted code. woozy_face We can use [Beautifier.io](http://Beautifier.io) in order to clean up our JS code. wink Here’s my own take on your sketch (Warning: Not fully tested!): sunglassesindex.html: \<!DOCTYPE html\> \<meta charset=utf-8\> \<meta name=viewport content=width=device-width,initial-scale=1\> \<script defer src=https://cdn.JsDelivr.net/npm/p5\>\</script\> \<script defer s…

---

_[View the full topic](https://discourse.processing.org/t/audio-does-not-come-up-in-the-browser-after-build-p5js-into-github/39967)._
