sleexyz / gallium

Web-based environment for livecoding MIDI
http://gallium.live
MIT License
19 stars 1 forks source link

MIDI events lag when tab is inactive #113

Open sleexyz opened 6 years ago

sleexyz commented 6 years ago

When the tab is inactive, Gallium become unusable since setInterval timing guarantees get throttled.

MDN documents a few ways to get around default browser throttling: https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API