Because PlaySoundLocal() and PlaySoundGlobal() don't use an
origin, you can enter the panning for a sound. A value of -1 will make the sound play only on the left speaker, and a value of 1 will make
the sound play on the right. Using a value of zero will make the sound neutral. You may use any flex from -1 to +1 for the panning you want.
Sound Distances
PlaySoundPos() and PlaySoundThing() both use a maximum and
minimum radius. The minrad distance is the distance from the sound's origin at which you can hear the sound at full volume. The maxrad distance
is the distance at which you can hear the sound. Inside the maximum radius, the sound will fade out as you move away from the origin. A
picture is helpful:
Unlike other distances in JK, minrad and maxrad are not measured in JKUs. Their unit is close to 1/10.5 of a JKU when the sound is played at full volume. Making the radii -1 will make JK use a default distance.
The default distance for the minrad is about 5 and the default for the maxrad is about 25.2 If you don't want to use one of the radii, use a value of 0.