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

Issue with Tone.js library on iOS14 + Mobile Safari #241

Closed
tpronk opened this issue Dec 23, 2020 · 1 comment
Closed

Issue with Tone.js library on iOS14 + Mobile Safari #241

tpronk opened this issue Dec 23, 2020 · 1 comment

Comments

@tpronk
Copy link
Contributor

tpronk commented Dec 23, 2020

e2e testing of an experiment with sound in it (this one) produced the error message shown below.

MicrosoftTeams-image (1)

A follow-up unit test gave the error message below.

  ReferenceError: Can't find variable: OscillatorNode
  https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:141240
  i@https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:355
  https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:49944
  i@https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:355
  https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:30225
  i@https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:355
  https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:289965
  i@https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:355
  https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:766
  https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:776
  https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:186
  global code@https://cdnjs.cloudflare.com/ajax/libs/tone/13.8.6/Tone.min.js:1:189

According to this ticket in the Tone.js repo, it might be resolved by updating tone to version 14.x

@thewhodidthis
Copy link
Contributor

Addressed with psychopy/psychopy/pull/3219 and /pull/212

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