DragonFireGamesLvl 11
I'm pretty sure playSound() uses https://studio.code.org/media?u= to load and cache its music. As such, I am trying to load music through it and it won't work. (It's part of an attempt at AI music generation.) I am using a trial song: https://dl.sndup.net/dbs8/electromedieval.mp3 and it won't load. (https://studio.code.org/media?u=https://dl.sndup.net/dbs8/electromedieval.mp3) Does anyone know if there is a special way to format the music so that it works?
I also discovered that https://studio.code.org/media?u= will timeout the request after 2.5 seconds of it not loading. I figured out how to stop the timeout by streaming empty data with req.write() but I can't seem to fix the new issue.
TLDR: CDO's media server is a whiny little bitch that nobody loves and I need help controlling it