Code from main.js: <a href="https://www.patatap.com/src/main.js" rel="nofollow">https://www.patatap.com/src/main.js</a><p>Enjoyed playing with it. It would be nice to see some WebMIDI support so it can be triggered with a MIDI keyboard.<p>On the same topic, I found Google's Oboe project really interesting. It's a C++ library for audio that works on both Chrome (via WASM) and Android (with AAudio). This talk from Google I/O 2019 gave a demo/walkthrough: <a href="https://www.youtube.com/watch?v=-GaD0RCp-Q0" rel="nofollow">https://www.youtube.com/watch?v=-GaD0RCp-Q0</a>