/tg/ Station 13 - Modules - Types

code/game/sound.dm

/soundDefault override for echo
/proc/playsoundplaysound is a proc used to play a 3D sound in a specific range. This uses SOUND_RANGE + extra_range to determine that.
/proc/get_rand_frequencyget a random frequency.
/proc/get_rand_frequency_low_rangeget_rand_frequency but lower range.
/proc/get_sfxUsed to convert a SFX define into a .ogg so we can add some variance to sounds. If soundin is already a .ogg, we simply return it