Drum machine cross browser compatibility - help

Hi everyone,

I’ve recently made drum machine project.:

Here’s the source:

It works fine in Firefox and Chrome, but fails in Edge - for one user, it did not load any sound, for me it doesn’t respond to keypress events at all. I checked my code line by line and found that everything i used in it should be Edge compatible. Might have missed something, tho.

I was unable to test it in Safari since i am not a Mac user.

Browsing the web, i found that there have been similar issues reported on Edge’s website. However that doesn’t exactly absolve me as a dev from making it work.

Is anyone here familiar with the issue, and aware of possible workaround? And i would love to hear whether similar issue exists on Safari as well.

I appreciate your help!