AJFaraday / smiff_music

Social Media InterFace For Music - It's only a concept at this stage, the end-game is a situation where people can interact with a twitter account and music will result.
6 stars 1 forks source link

Tabbing away from SMIFF causes playback to happen sporadically #16

Open AJFaraday opened 9 years ago

AJFaraday commented 9 years ago

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

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 commented 9 years ago

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

AJFaraday commented 9 years ago

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

https://codereview.chromium.org/6577021