USER WARNING: Invalid mix rate of 0, consider reassigning setting 'audio/driver/mix_rate'. index.js:14050:18
Defaulting mix rate to value 44100. index.js:14050:18
at: _get_configured_mix_rate (servers/audio_server.cpp:126) index.js:14050:18
Blocking on the main thread is very dangerous, see https://emscripten.org/docs/porting/pthreads.html#blocking-on-the-main-browser-thread