> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Custom Sounds

This page covers the topic on how to customize and configure sound playback in GlobalQuake.

## Introduction

GlobalQuake uses **WAV** format audio files for all alerts and notifications. Sound files are stored in a `sounds/` folder inside the GlobalQuake home directory. Each sound can have its own volume level, and all volumes are persisted across sessions in a properties file.

:::info
To quickly mute all sounds, press **S** while GlobalQuake is focused.
:::

## Accessing the Sounds Folder

The easiest way to find the sounds folder is through the GlobalQuake interface:

1. Click **Open > User Data Folder** in the top bar.
2. Inside the opened folder, navigate to the `sounds/` subfolder.

You can also navigate there manually:

- **Windows:** `%APPDATA%\GlobalQuake\sounds\`
- **macOS / Linux:** `.data/sounds/` in the directory where GlobalQuake was launched.

:::warning
If GlobalQuake is currently running, restart it after replacing sound files so they are loaded properly.
:::

## Available Sound Types

GlobalQuake ships with the following default sound files:

| File              | Description                                                     |
| ----------------- | --------------------------------------------------------------- |
| `found.wav`       | Plays when a new earthquake is first detected.                  |
| `update.wav`      | Plays when an existing earthquake is updated with revised data. |
| `level_0.wav`     | Plays when earthquake intensity reaches level 0.                |
| `level_1.wav`     | Plays when earthquake intensity reaches level 1.                |
| `level_2.wav`     | Plays when earthquake intensity reaches level 2.                |
| `level_3.wav`     | Plays when earthquake intensity reaches level 3.                |
| `level_4.wav`     | Plays when earthquake intensity reaches level 4.                |
| `intensify.wav`   | Plays when shaking intensifies at the user's location.          |
| `felt.wav`        | Plays when an earthquake is expected to be felt by the user.    |
| `felt_strong.wav` | Plays when strong shaking is expected at the user's location.   |
| `eew_warning.wav` | Plays as an early warning alert for an incoming earthquake.     |
| `countdown.wav`   | Plays a countdown to expected shaking arrival.                  |

## Customizing Sounds

To replace a sound, simply drop a new **WAV** file into the `sounds/` folder with the exact same filename as the one you want to replace.

:::info
Use a sample rate of 44100 Hz for best compatibility. Other common WAV formats should work, but 44100 Hz mono/stereo is recommended. If you are having issues, please consult the [troubleshooting entry](/guide/start/troubleshooting.md#custom-sound-does-not-work).
:::

## Sound Settings Panel

GlobalQuake provides a graphical panel for managing sounds. Open it via **Options > Settings > Sounds** in the top menu bar.

The panel includes:

- **Master volume** slider — controls the overall output volume for all sounds.
- **Per-sound volume** sliders — individually adjust the volume of each available sound.
- **Test button** — click to preview any sound at its current volume.
- **Reload button** — reloads all sound files from disk without restarting GlobalQuake.
- **Open folder button** — opens the `sounds/` directory in your file explorer.

## Volume Configuration Files

Sound volumes are persisted in a properties file located at:

```
sounds/soundVolumes.properties
```

Each sound has its own volume entry, stored as a numeric value. The master volume is controlled separately in `ui.properties`:

- `globalVolume`100 — Master volume for all sounds (0–100).
- `enableSound`true — Master toggle for all sounds.
- `enableEarthquakeSounds`true — Toggles earthquake-specific sounds (detection, revision, intensity changes).
- `earthquakeSoundsMinMagnitude`0.0 — Minimum magnitude required for earthquake sounds to play.
- `earthquakeSoundsMaxDist`30000.0 — Maximum distance (km) from the user for earthquake sounds to play.

:::warning
Editing properties files directly is not recommended for most users. Use the Sound Settings panel in the GUI whenever possible.
:::

## Keyboard Shortcut

| Key   | Action                    |
| ----- | ------------------------- |
| **S** | Toggle all sounds on/off. |
