This PR aims at solving issue #20
The Catarak Web Audio Sequencer is using requestAnimationFrame to schedule the next update. Unfortunately this function is paused when the application runs in background.
This PR replace it with the setTimeout function. This will be less precise and more CPU consuming than the requestAnimationFrame, but at least the audio renderer will still work while in background mode.
This PR aims at solving issue #20 The Catarak Web Audio Sequencer is using requestAnimationFrame to schedule the next update. Unfortunately this function is paused when the application runs in background. This PR replace it with the setTimeout function. This will be less precise and more CPU consuming than the requestAnimationFrame, but at least the audio renderer will still work while in background mode.