Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Tone.js breaking in Safari 14

Open
#25 2 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Tonejs/tonejs.github.io

All issues in Tonejs/tonejs.github.io

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.