Problem DescriptionSo I've lately been encountering issues with audio. Especially on mobile. I'm making a music game, so it's quite devestating to find that the audio clarity and playback speed gets gradually lowered the longer the playsession. This happens on all devices, and all platforms. At first I thought maybe it's inconsistent internet, but I find this happening even on exported NWjs/Cordova projects. I also did tests to ensure that it's not just the fact I'm switching songs around too rapidly causing the issue. This always eventually happens, even if you just play one track, and wait for minutes at a time before changing. I find it seems directly related to amount of times tracks are changed, and processing power.

This becomes apparent way faster on mobile over PC. On my S7 this becomes a problem already after maybe 20 seconds of tapping. After about 1 minute the music's inaudable. On a beast of a desktop I have to hold in the mouse for maybe up to 2-5 minutes to recreate the issue. Considering I'm targeting mobile though... This is a bug so severe I have to cancel the game if it can't be fixed.

It turns out we leaked an audio node when unloading music tracks. I'm not sure why this would degrade audio quality (why would extra silent nodes affect anything?) but it's definitely a problem, and properly cleaning up the nodes seems to fix the problem.