I have multiple sound emitter objects that play a sound to players in range and will constantly update the sound's x, y, z, and volume attributes.
When multiple of these emitter objects are playing the same sound file (but different sound objects) to the same player at the same time on different channels, glitches can be heard if the volumes of the sound objects are different (in my case, two sound objects with volumes 8 and 50).
Numbered Steps to Reproduce Problem:
1. Play two or three versions of the same sound file to a player on different channels
2. While the sound is playing, constantly send updates to the sound through sound.status = SOUND_UPDATE
Code Snippet (if applicable) to Reproduce Problem:
//Per server tick:
The same sound file is played on different channels with different parameters without problem.
One of the instances of the sound file will override the other, and will cause occasional "blips" and similar audio glitches
Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
The problem is not as discernible when the sound objects parameters are similar.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)