# Sound Environment Mode

This mode is based on Sound Propagation Mode Plugin by Boris Iwansky (https://github.com/biwa/soundpropagationmode).
Action category: Modes.
Default key: none.
This mode shows the sound environments in ZDoom maps (both Hexen format and UDMF). The gray areas do not belong to a sound environment.
The mode also supplies a docker that supplies information about the sound environments. It will display the sound environments, the SoundEnvironment things belonging to them and also the lines that are limit the sound environments. Clicking on the sound environments, things or lines in the list will center the map view on those objects.
User interaction:

- Click on double-sided linedefs to toggle "Sound Zone Boundary" flag.
- Right-click to insert a SoundEnvironment thing.
- Right-click on a SoundEnvironment thing to choose a Sound Environment.
- Highlight a SoundEnvironment thing and press "Delete" key to remove it.

This mode can also help you find problems (i.e. behaviors that you probably did not intend). If there are any problems with a sound environment, a warning sign will be displayed in the list at the affected thing or line (the icon will bubble up the tree to make it easier to find when the whole list is collapsed).
Following problems are detected:

- One-sided lines that are set to be a sound zone boundary.
- Two-sided lines that are set to be a sound zone boundary, but the sectors on both sides belong to the same sound environment.
- Multiple non-dormant SoundEnivornment things.

Note that the latter two can be caused by sound environments unintentionally bleeding into other sectors (i.e. not correctly sealed sound environments).