code/__DEFINES/sound.dm 
| SOUND_RANGE | Default range of a sound. |
|---|---|
| SHORT_RANGE_SOUND_EXTRARANGE | default extra range for sounds considered to be quieter |
| SILENCED_SOUND_EXTRARANGE | The range deducted from sound range for things that are considered silent / sneaky |
| SOUND_DEFAULT_FALLOFF_DISTANCE | Percentage of sound's range where no falloff is applied |
| SOUND_FALLOFF_EXPONENT | The default exponent of sound falloff |
| CALCULATE_SOUND_VOLUME_RATIO | Calculates the volume of a sound based on distance |
| ANNOUNCER_AIMALF | Announcer audio keys |
| SFX_PATCHPACK | List of all of our sound keys. Used with /datum/sound_effect as the key. See code\game\sound_keys\sound_keys.dm |
Define Details
ANNOUNCER_AIMALF 
Announcer audio keys
CALCULATE_SOUND_VOLUME_RATIO 
Calculates the volume of a sound based on distance
Update this when changed please! https://www.desmos.com/calculator/ing6lxgd0m
Arguments:
- volume: The initial volume of the sound being played.
- distance: How far away the sound is in tiles from the source.
- falloff_distance: Distance at which falloff begins. Sound is at peak volume (in regards to falloff) aslong as it is in this range.
- falloff_exponent: Rate of falloff for the audio. Higher means quicker drop to low volume. Should generally be over 1 to indicate a quick dive to 0 rather than a slow dive. Returns: The max distance of a sound based on audible volume range
SFX_PATCHPACK 
List of all of our sound keys. Used with /datum/sound_effect as the key. See code\game\sound_keys\sound_keys.dm
SHORT_RANGE_SOUND_EXTRARANGE 
default extra range for sounds considered to be quieter
SILENCED_SOUND_EXTRARANGE 
The range deducted from sound range for things that are considered silent / sneaky
SOUND_DEFAULT_FALLOFF_DISTANCE 
Percentage of sound's range where no falloff is applied
SOUND_FALLOFF_EXPONENT 
The default exponent of sound falloff
SOUND_RANGE 
Default range of a sound.