# Custom ringtones and notifications

## Step 1: Add Sound Files

#### For Ringtones:

Place your ringtone files in the following directory:\
`/html/sounds/ringtones/`

#### For Notification Sounds:

Place your notification sound files in the following directory:\
`/html/sounds/notifications/`

Ensure the files are in a supported audio format (e.g., `.ogg`, `.mp3`).

## Step 2: Add New Sound Config.json

#### Adding Ringtones:

1. Copy the relative path of the ringtone file from `/html/sounds/ringtones/`.
2. Add a new entry under the `Sounds` section in the `config.json` file.

**Example:** If you add a file named `chime.ogg`, the updated `Sounds` section may look like this:

```json
"Sounds": {
  "Default": "/html/sounds/ringtones/default.ogg",
  "Classic": "/html/sounds/ringtones/classic.ogg",
  "Bell": "/html/sounds/ringtones/bell.ogg",
  "Chime": "/html/sounds/ringtones/chime.ogg"
},

```

#### Adding Notification Sounds:

1. Copy the relative path of the notification sound file from `/html/sounds/notifications/`.
2. Add a new entry under the `Notifications` section in the `config.json` file.

**Example:** If you add a file named `alert.ogg`, the updated `Notifications` section may look like this:

```json
"Notifications": {
  "Arrived": "/html/sounds/notifications/arrived.ogg",
  "Crystal": "/html/sounds/notifications/crystal.ogg",
  "Ping": "/html/sounds/notifications/ping.ogg",
  "Alert": "/html/sounds/notifications/alert.ogg"
}
```

## Step 3: Restart the phone <a href="#restart-the-phone" id="restart-the-phone"></a>

After adding the audio files and updating the config, you need to restart the phone for the changes to take effect.
