JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://unpkg.com/tone@latest"></script>
JavaScript
var synth = new Tone.Synth().toMaster()
synth.triggerAttackRelease("C4", "8n")
<script src="https://unpkg.com/tone@latest"></script>
var synth = new Tone.Synth().toMaster()
synth.triggerAttackRelease("C4", "8n")