2 ms·
> Karplus-Strong guitar synthesizer implemented in JavaScript using asm.js and Web Audio. Are the asm.js annotations required for this to work in Firefox? I th
by timothya 11y ago
> Karplus-Strong guitar synthesizer implemented in JavaScript using asm.js and Web Audio.
Are the asm.js annotations required for this to work in Firefox? I thought the primary use case for asm.js was converting low-level code into something that could run efficiently in JS, and not so much for handwritten JS. And the demo seems to work fine in Chrome, which has no optimizations specific to asm.js that I know of.
- fishfish 11y agoThe initial version without any optimisation at all didn't run in real-time, so I started down the asm.js route for fun. With the refactoring done to accommodate asm.js, it does actually work just fine in Firefox even if asm.js compilation fails.