# Tone.js embedded/presentation does not work in Chrome browser

**URL:** https://discourse.processing.org/t/tone-js-embedded-presentation-does-not-work-in-chrome-browser/25046
**Category:** Libraries
**Created:** [October 30, 2020, 12:06pm UTC](https://discourse.processing.org/t/tone-js-embedded-presentation-does-not-work-in-chrome-browser/25046 "2020-10-30T12:06:40Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![cpt.credible](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/cpt.credible/32/10964_2.png) [@cpt.credible](https://discourse.processing.org/u/cpt.credible)
#### Post date: [October 30, 2020, 8:47pm UTC](https://discourse.processing.org/t/tone-js-embedded-presentation-does-not-work-in-chrome-browser/25046/3 "2020-10-30T20:47:21Z")

</div>

> [@Pls critique my code!](https://discourse.processing.org/t/pls-critique-my-code/12855/2):
>
> ## index.html:
> 
> ```auto
> 
> ```

Thanks for the useful reply! I managed to get the code you posted to work, and veified that it would make sound after the mouse has been clicked:

> **[p5.js Web Editor](https://editor.p5js.org/CaptainCredible/sketches/mvwIH-F5e)**
>
> A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners.

But I couldn’t manage to use the same principle to get my sketch working.

> **[p5.js Web Editor](https://editor.p5js.org/CaptainCredible/sketches/v0eQoicOU)**
>
> A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners.

what am I doing wrong?

---

_[View the full topic](https://discourse.processing.org/t/tone-js-embedded-presentation-does-not-work-in-chrome-browser/25046)._
