This is a long shot.
The scenario is this: I create sound tags (using the Audio (src) constructor) and replay the sounds in Chrome. Sounds short, no more than 4 seconds. Some of these sounds, but not all, receive a crack sound of approximately 400 ms per sound (purely based on my ear), and not every time these sounds are affected by the game, either. In other words; some sounds sometimes appear, but not always.
So, to understand why I insert 300 ms of silence into the sound file. I still got a crack, although in the same place (which will now be 700 ms in sound). As the search continued, I inserted a very discrete hum in the silence of 300 ms to see if that changed anything. This is not true. Therefore, I came to the conclusion that, possibly, the crack came from a sound having a certain amplitude (since the crack remained in the same position relative to the actual sound).
To test this, I created a sine wave that went from absolute silence to full volume, but I can’t get it to crack. It is worth noting that A. it works flawlessly in IE9, no cracks in any file, so this is not the case with bad files B. These are not all the files that seem to be affected by this (I assume this is a) error.
So the question is, does anyone have theories why this could be? Anything obvious that I'm missing?
I would like to share some code, but all this is proprietary, and I am not allowed to do it right now.
EDIT: Actually, I'm not sure that the crack remains in the same position relative to the actual sound. I still get crackling, but it could be in another place. Sorry for the ambiguous post, I listened to the same sound for the last 5 hours: /. However, there is still a crack, and this is still a problem.