reactronica icon indicating copy to clipboard operation
reactronica copied to clipboard

No Sound on Safari for iOS

Open markjamesm opened this issue 3 years ago • 1 comments

When attempting to play sounds on Safari iOS from this app, no sounds can be heard. Opening the same website in Chrome for desktop plays the sounds correctly, but there are some errors in the console related to AudioContext: AudioContext

There's a Tone.js issue open and appears to affect safari and some other browsers.

Edit: Testing the piano roll example from the documentation page also results in silence when using safari iOS (but works great on Chrome desktop). I haven't been able to test from Android yet.

markjamesm avatar Dec 25 '21 01:12 markjamesm

Doing more research into this, it appears that the current Reactronica codebase contains the StartAudioContext for iOS within the song component. Is it possible a new iOS update was released at some point that breaks this logic?

markjamesm avatar Dec 26 '21 19:12 markjamesm