You can watch music.js . They have a demo in action here , but the code looks something like what you described:
var n = Note.fromLatin('A4');
However, I'm not sure if it actually handles the βplayβ part, and most likely uses the HTML5 tag.
As for which browsers support the audio tag, this is a simpler question: http://caniuse.com/#search=audio
NT3RP source share