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

webkit error: param must be audioParam #1299

Open
eyaler opened this issue Dec 14, 2024 · 1 comment
Open

webkit error: param must be audioParam #1299

eyaler opened this issue Dec 14, 2024 · 1 comment

Comments

@eyaler
Copy link

eyaler commented Dec 14, 2024

I am trying to debug stuff on Safari using playwright - 18.2 Safari/605.1.15, on a Windows machine.

Tone.js 15.1.3 added in HTML as a regular script.

I get the error: param must be audioParam

Minimal code that triggers the error: new Tone.Synth() (this is the whole code)

Try it: https://codepen.io/eyaler/pen/NPKbBPw (issue is reproduced also outside of codepen)

No issue on firefox / chrome / playwright+chrome.

@chrisguttandin
Copy link
Contributor

Hi @eyaler, thanks for reporting this.

Since Tone.js uses standardized-audio-context (which I'm the maintainer of) for cross browser compatibility I'm always wondering if issues like this may be caused by some browser bug.

I tried reproducing the issue in Safari 18.2 on macOS and by opening your CodePen demo with the current WebKit browser that comes with Playwright. It both worked as expected.

Could you maybe provide a stack trace of the error you're getting for further investigation?

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