Skip to content
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

Fix the webaudio sandbox example in Safari #22149

Merged
merged 2 commits into from
Jul 19, 2021

Conversation

brianpeiris
Copy link
Contributor

@brianpeiris brianpeiris commented Jul 18, 2021

Description

Safari doesn't support ogg audio. This PR changes the webaudio sandbox example to use an <audio> element as a sound source with both mp3 and ogg formats.

@Mugen87
Copy link
Collaborator

Mugen87 commented Jul 19, 2021

Indeed, the example works now in Safari, too 👍 .

The only thing I have noticed is some sporadic/rare noise sounds and cracks (at the application start and when moving/looking around). Tested with Safari 14 on macOS. Latest Chrome and Firefox don't show this issue.

If others can reproduce we might want to report this to the WebKit bug tracker: https://bugs.webkit.org/

@brianpeiris
Copy link
Contributor Author

Yes, the issue with noise/distortion is a current bug with PannerNode in Safari https://bugs.webkit.org/show_bug.cgi?id=227199

@mrdoob mrdoob added this to the r131 milestone Jul 19, 2021
@mrdoob mrdoob merged commit ca53562 into mrdoob:dev Jul 19, 2021
@mrdoob
Copy link
Owner

mrdoob commented Jul 19, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants