Web::Sound multiple simultaneous playback
aostrega opened this issue · comments
Web::Sound
is currently powered by a simple HTML5 Audio
object, though unfortunately it cannot be played multiple times simultaneously, which is unsuitable for games.
This can be worked around by creating multiple Audio
objects (or "channels") for one Sound
. Even better would be to generate additional Audio
objects just in time as needed, if that would work.