I have this function call I want tied directly into a var:
startTone( tone );
How would I tie it into a var similar to how I have this var created:
audio = new Audio();
audio.src = "sound.mp3";
audio.loop = false;
audio.play();
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.