JSFiddle - React, Tailwind, and code Playground
by kdoodoo
JavaScript
var sampleURL = "http://tonejs.github.io/Tone.js/examples/audio/FWDL.mp3";
var player = new Tone.Player(sampleURL).toMaster();
//trigger the start of the sample once its loaded
Tone.Buffer.on("load", function(){
player.start();
});