It's also annoying to debug because it's not as obvious as video when something is wrong, especially when you've just spent two hours listening to the same chip tune square waves in a row...
My entrance into the GB scene coincided with my interest in LSDJ, and I really want to write a web app around it[1], but I'm stymied by outdated implementations and my own lack of domain knowledge.
[1] https://github.com/andrewrabon/little-web-dj
^ Still unfinished. My own emulator will probably have to come first.
In the meantime you can try to dig around my code which is not nearly as accurate but (hopefully) should be easier to understand: https://github.com/simias/gaembuoy/blob/master/spu.c
It seems to work fine with all games I've tested, although of course that's only a tiny subset of the console's library...