Hi, if you're looking for a medium-level audio library that's easy to use with emscripten check out SoLoud (http://sol.gfxile.net/soloud/), it took me less than an hour to integrate with my hobby engine Oryol. For emscripten it links against SDL Audio (I'll try to investigate other options, but the OpenAL backend doesn't work out of the box since it uses a thread to update sound buffers).
Here's a little quick'n'dirty port of one of the SoLoud demos to Oryol: http://floooh.github.io/oryol-sticky-tests/asmjs/SoloudTedSid.html I'll put a bit more time into it over the next few days to port more demos over and clean up the code a bit (and may be also try to get some PRs accepted, for instance I'd like to have a preprocessor define which completely removes all file IO code). Here's the (WIP) code for that demo (but that's mostly copied from one of the soloud demos): https://github.com/floooh/oryol/blob/soloud/code/Samples/SoloudTedSid/SoloudTedSid.cc Cheers, -Floh. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
