Garry's Mod Wiki

SNDLVL

Description

The sound's attenuation; how fast it drops away, enumerations used by EmitSound and Entity:EmitSound.

The engine starts running into trouble below 60dB.

These enumerations do not exist in Lua and are listed here only for reference. These values and descriptions are taken from soundflags.h in Source SDK 2013

Values

SNDLVL_NONE0Sound plays everywhere
SNDLVL_20dB20Rustling leaves
SNDLVL_25dB25Whispering
SNDLVL_30dB30Library
SNDLVL_35dB35
SNDLVL_40dB40
SNDLVL_45dB45Refrigerator
SNDLVL_50dB50Average home
SNDLVL_55dB55
SNDLVL_60dB60Normal conversation, clothes dryer
SNDLVL_IDLE60The same as SNDLVL_60dB
SNDLVL_65dB65Washing machine, dishwasher
SNDLVL_STATIC66
SNDLVL_70dB70Car, vacuum cleaner, mixer, electric sewing machine
SNDLVL_75dB75Busy traffic
SNDLVL_NORM75The same as SNDLVL_75dB
SNDLVL_80dB80Mini-bike, alarm clock, noisy restaurant, office tabulator, outboard motor, passing snowmobile
SNDLVL_TALKING80The same as SNDLVL_80dB
SNDLVL_85dB85Average factory, electric shaver
SNDLVL_90dB90Screaming child, passing motorcycle, convertible ride on freeway
SNDLVL_95dB95
SNDLVL_100dB100Subway train, diesel truck, woodworking shop, pneumatic drill, boiler shop, jackhammer
SNDLVL_105dB105Helicopter, power mower
SNDLVL_110dB110Snowmobile (drivers seat), inboard motorboat, sandblasting
SNDLVL_120dB120Car horn, propeller aircraft
SNDLVL_130dB130Air raid siren
SNDLVL_140dB140Threshold of pain, gunshot, jet engine
SNDLVL_GUNFIRE140The same as SNDLVL_140dB
SNDLVL_150dB150
SNDLVL_180dB180Rocket launching