[web-audio-api] Lack of support for continuous playback of javascript synthesized consecutive audio buffers causes audio artifacts. (#265)

The specification/implementations do not address this crucial aspect of modern audio apis. The reason why this is so important is that most modern game-engines require these features in order to provide varied and streaming audio, the current solution it seems is to provide pre-canned audio files which are played back when events occur but this results in games sounding horrible, you get a few pre-recorded audio pieces in a loop. The ability to continuously play back audio that has been synthesized in chunks is essential, calling a JavaScript node continuously is inefficient in a large application. The specification needs a way to schedule exact, and precise streaming playback of consecutive audio buffers. The simplest solution to this is to add a startImmediatelyAfter() function, but their are other ways as well (for instance providing a start after x number of samples method).

Explanation of the issue/test case:

Relevant emscripten Code:

Original topic:

Reply to this email directly or view it on GitHub:

Received on Friday, 18 October 2013 16:29:14 UTC