Tone.js breaking in Safari 14
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Reproduce the import failure and website example failures in Safari 14 using Tone.js versions 13.8.25 and 14.7.58, focusing on the reported OscillatorNode and BroadcastChannel reference errors. Done means the site examples and a Tone.js import no longer fail in Safari 14.
Written by the indexing model from the issue text.
Description
I was using Tone v13.8.25 for a live project, and now I'm seeing that (only) in Safari 14 it breaks the site due to a reference error during mere import. Here's the error:
ReferenceError: Can't find variable: OscillatorNode
I also tested the Tone.js website (https://tonejs.github.io/) to see what happens with the latest version, and none of the examples run in Safari 14.
The error there:
ReferenceError: Can't find variable: BroadcastChannel
I'm now upgrading my project with the latest stable version, but just wanted to raise a flag that maybe even the latest version needs tweaking?
Safari: 14.0
Tone: 13.8.25 / 14.7.58
- Dominant language
- HTML
- Stars
- 96
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Tonejs/tonejs.github.io
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
Tonejs/tonejs.github.io#59 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Tonejs/tonejs.github.io#58 ·
-
如何使用它构建一个API接口Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Tonejs/tonejs.github.io#50 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
Tonejs/tonejs.github.io#30 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in Tonejs/tonejs.github.io
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
facioquo/stock-indicators-dotnet#2316 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vercel-labs/skills#2460 ·
Maintainers usually reply within 1 day
-
[Bug]: Web chat input doesn't regain focus after a reply finishesPossibly taken @GaijinSystems claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
zeroclaw-labs/zeroclaw#11658 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
babylonlabs-io/babylon-toolkit#2711 ·
Maintainers usually reply within 1 day