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

Tabbing away from SMIFF causes playback to happen sporadically #16

Open
AJFaraday opened this issue Jan 17, 2015 · 2 comments
Open

Tabbing away from SMIFF causes playback to happen sporadically #16

AJFaraday opened this issue Jan 17, 2015 · 2 comments

Comments

@AJFaraday
Copy link
Owner

Observed in Chrome on linux, also on windows. May affect other browsers and platforms

  • Run up SMIFF
  • start playback
  • ensure there is some contents in the pattern
  • Change to another tab
  • Some sounds are hit, seemingly at random, but much less than full playback
  • When the browser is on that tab changing window doesn't seem to affect playback

This may be a web audio or JS problem (i.e. setInterval is not running the method all the time or the audio action is not responding). Either way it doesn't appear to be the SMIFF code causing the problem.

I'm stumped, it seems to be outside my control, but I'd welcome any solutions to this problem.

@AJFaraday
Copy link
Owner Author

I would be happy with either total playback or explicitly disabling the actions when the window is not focused.

@AJFaraday
Copy link
Owner Author

Andrew Duthie (@andrew_duthie) found this article on the reasons for the slow-down for me.

https://codereview.chromium.org/6577021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant