You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
This is actually an issue with the interactive example component, BroadcastChannel isn't used within Tone.js. so moving here as a reminder to take care of it.
Ah cool! Yeah makes sense, I also found in the meantime that upgrading to latest version fixes the OscillatorNode reference error, so it's just the older versions that break.
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
The text was updated successfully, but these errors were encountered: