-
Notifications
You must be signed in to change notification settings - Fork 59
Can't get soundfont-player to work on Mac (Safari or Chrome) #81
Comments
I've just noticed that! Same issue on Safari, but I can use on Chrome. Have a look at the gh-page on Safari 14.1.1 on Mac 11.4 |
This might be a problem introduced with Safari 15. I'm also getting the Right now, i can't get audio on iOS/Safari to work. It works in Chrome and Firefox on a Macbook (same code obviously). I even created and resumed the AudioContext right on a user click (which apparently you should do for Safari), but that didn't change anything. Apparently you may have to use 2 different user clicks to first load audio data, then play it back: |
@sschmidTU confirmed as Safari bug on 10.15 in https://bugs.webkit.org/show_bug.cgi?id=230974 |
Any updates on this problem? |
Upgrade macOS - that same Safari version works on 11+. Or use another browser. |
macOS version is 12.3.1. |
I would like to ask, has this problem been solved after so long |
This repository will be archived very soon. I'm not working anymore on it (since a long time). A possible alternative could be https://github.com/danigb/smplr that works on Safari (but have much less options) |
@sschmidTU Hello, sschmidTU soundfont - player cannot play in Safari can question whether you can use https://github.com/danigb/smplr to replace soundfont - player before osmd use lead to the problems |
@danigb It looks great. Thank you |
After setting up the player I get this message via the console:
Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'ac.decodeAudioData') line 522
Anyone experienced this error and knows how to handle it?
Cheers,
Nitzan
The text was updated successfully, but these errors were encountered: