Hey guys,
Our project has been using Tracker files (file extension .it
for those not familiar) for our larger background music audio files to keep file size down. I recently noticed that these files don’t play properly in WebGL builds, they sound quite obnoxious! Like someone is trying to shout into a microphone that’s hooked up to an amplifier which is connected to a set of old school earbud headphones on max volume. (if you’ve ever played around with sound editing and tried to multiply your values so that they hit the ceiling and floor of your buffer, then you know the sound i mean)
Now its been a while since I tested our project in WebGL, but my memory serves that this was not a problem in Unity 5.0.x, and I’m on 5.1.2f1 now and have this problem, so I’m not 100% sure if its this version that is the issue, or not.
Converting the file to mp3 fixes the problem, but then the file size is about 20x larger then we need and with WebGL we need as much memory as possible.
P.S. Testing in Chrome v43 on PC and Firefox both produce the same problem. Adjusting output volume of the AudioSource has no effect either.