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

Demo fails silently on iPad #21

Closed
pannous opened this issue Dec 15, 2021 · 3 comments
Closed

Demo fails silently on iPad #21

pannous opened this issue Dec 15, 2021 · 3 comments

Comments

@pannous
Copy link

pannous commented Dec 15, 2021

Just a black screen

@pannous pannous changed the title Demo fails silently on mac Demo fails silently on iPad Dec 15, 2021
@pannous
Copy link
Author

pannous commented Dec 15, 2021

https://synth.ameo.dev/fm.html loads but plays no sound

@Ameobea
Copy link
Owner

Ameobea commented Dec 15, 2021

Hi, thanks for the report. Were you by chance using the Safari browser? I checked and found that I was emitting some WebAssembly SIMD opcodes that Safari couldn't handle; I've since fixed that. The FM synth demo now works when I test it in Safari on Mac OS.

However, loading different compositions such as https://synth.ameo.dev/composition/50 seems to be causing a huge memory leak that only happens in Safari. On Chrome, the webpage uses ~330MB of RAM, but on Safari I saw it grow to over 12GB. I will have to investigate this further; I'm not sure if it's an issue with Safari, a bug in my code that only manifests on Safari, or perhaps it's the M1 memory leaks that people were talking about a month or so ago.

Anyway, thanks again for letting me know about that; I'll keep an eye out and look further into this.

@Ameobea
Copy link
Owner

Ameobea commented Jan 4, 2024

I just was looking through these issues and happen to have an iPad available now. I tested in Safari and the demo works now :)

@Ameobea Ameobea closed this as completed Jan 4, 2024
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

No branches or pull requests

2 participants