(Quick update on this: after further testing we found that this issue seems to be happening in Firefox but not other browsers [at least not Chrome or Safari], and it also doesn’t happen if the soundfiles in question are converted from .wav to .mp3. So, I still don’t know what the cause of the problem is, but at least there is a workaround.)