-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work (no sound) in mobile Safari and Chrome #77
Comments
https://danigb.github.io/smplr/ seems to work on my (android) device. What is the problem exactly? |
@danigb just no sound on your page as well. I forgot to say (but you can see that I mentioned SafariI) that I tested with iPhone 14 Pro Max, iPhone 12, and iPhone 11 Pro Max (the latest iOS on each device) However, the sustained test works great. Sometimes I see this in the Safari console Note: it will not work in silent mode (dedicated iPhone button) even if you increase the volume (this is fine but can confuse) |
I have a similar problem. I built a progressive web app and installed it with Google Chrome on an iPhone 13 mini with IOS 17.5.1. When I try to play a melody, only a few notes are played, some are missing. The same app works well on Linux and Windows with different browsers. |
Hey, I'd like to understand this problem better. Can you provide some source code to reproduce? Does it happen on any other Apple devices? (Safari I'm looking at you) Have you tried to use standarized-audio-context? Thanks |
I tried to develop a small test application to reproduce the error. For that, I modified your simple example in the README to play a sequence of notes. It works fine in Safari and Google Chrome on my iPhone. I do not use the standardized-audio-context. Should I? Kind regards |
Hi! So, if I understand currently, now it works, right?
It helps with compatibility problems between browsers, specifically with oddities of the Apple browsers. So, I think it should be a first thing to try (there's a section on README) Thanks for checking and explanations! |
I am trying to play midi notes.
And it works well in the desktop version of Chrome and Safari
However, it doesn't work in the mobile versions of Chrome and Safari.
I tried load.then, all hooks like onStart. All of the successfully executed but there is no sound.
The simplest way to test - open an old issue from mobile phone
#4
https://jsfiddle.net/k4Lodqmc/1/
The text was updated successfully, but these errors were encountered: