Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save reallymemorable/d2813502e651b438124c4e1b1d185b5a to your computer and use it in GitHub Desktop.
Save reallymemorable/d2813502e651b438124c4e1b1d185b5a to your computer and use it in GitHub Desktop.
function startAndHide() {
// update();
Tone.Transport.start();
document.getElementById('start').style.display = 'none';
}
The HTML:
<div style="float: left; width: 50%; text-align: center; " ><div id="start" onclick="startAndHide()">PLAY</div></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment