How to set custom sounds
In this guide, you will learn how to manage custom sounds for your SnailyCAD instance. All sound files are stored locally in the CAD, this allows you to change the sounds to your liking.
SnailyCADv4 currently supports the following actions that are connected to a sound:
Action | Sound (filename) | Description |
---|---|---|
Panic Button | panic-button.mp3 | When a unit presses a panic button, this sound will triggered. |
Signal 100 | signal100.mp3 | When Signal 100 is enabled by Dispatch, this sound will be triggered. |
Added to call | added-to-call.mp3 | When you (the active unit) is added/assigned to a call, this sound will be triggered. |
Roleplay stopped | roleplay-stopped.mp3 | When roleplay is marked stopped, this sound will be triggered. |
Status Update | status-update.mp3 | When your status is updated by you or Dispatch, this sound will be triggered. |
Incoming Call | incoming-call.mp3 | When a new call is created, this sound will be triggered. |
LEO Tone | leo-tone.mp3 | When a new LEO tone is available, this sound will be triggered. |
EMS/FD Tone | ems-fd-tone.mp3 | When a new EMS/FD tone is available, this sound will be triggered. |
How to change these files
1. Stop your SnailyCAD instance
Before we can manage any custom sounds, we must first stop SnailyCAD.
Make sure you are in the same directory as your SnailyCAD instance.
- Standalone
- Docker
If you are running SnailyCAD standalone, you can simply press CTRL+C
in the terminal window where SnailyCAD is running.
If you are running SnailyCAD with Docker, you can stop SnailyCAD by running the following command:
docker compose -f production.docker-compose.yml down
2. Open your SnailyCAD sounds directory
The sounds directory can be found at: apps/client/public/sounds
3. Replace the files
Here you can replace, add or remove sound files. You will notice, not all sounds are present in the directory. This is because only a few are provided by default.
Your custom sound files must match the filenames listed above and must have .mp3
extensions
4. Rebuild your SnailyCAD instance
- Standalone
- Docker
If you are running SnailyCAD standalone, you can run the following command to rebuild the client:
pnpm run build
If you are running SnailyCAD with Docker, you can run the following command to rebuild the client:
docker compose -f production.docker-compose.yml build
5. Start your SnailyCAD instance
- Standalone
- Docker
If you are running SnailyCAD standalone, you can run the following command to start SnailyCAD:
pnpm run start
If you are running SnailyCAD with Docker, you can run the following command to start SnailyCAD:
docker compose -f production.docker-compose.yml up -d
default sounds were provided by rhys19. Thanks a lot! See original GitHub issue