# Sounds

## 🔊 Sounds

ELENASHOP includes 4 sound effects for a better user experience.

***

### Enable or Disable

Config.EnableSounds = true Config.SoundVolume = 0.3 -- 0.0 (mute) to 1.0 (max)

***

### Sound Files

Place sound files in html/sounds/:

elenashop/ └── html/ └── sounds/ ├── add.mp3 -- Adding item to cart ├── remove.mp3 -- Removing item or clearing cart ├── purchase.mp3 -- Successful purchase └── click.mp3 -- UI clicks (category, modal)

***

### Finding Sound Files

#### Recommended Sites (Free, Royalty-Free)

| Site      | URL                          | Best Search Terms                    |
| --------- | ---------------------------- | ------------------------------------ |
| Mixkit    | mixkit.co/free-sound-effects | ui click, success, cash register     |
| Pixabay   | pixabay.com/sound-effects    | button click, notification           |
| Freesound | freesound.org                | ui click, purchase (use CC0 license) |

#### Recommended Search Terms

| Sound File   | Search For                         |
| ------------ | ---------------------------------- |
| add.mp3      | success, item add, positive beep   |
| remove.mp3   | negative beep, remove, decline     |
| purchase.mp3 | cash register, cha ching, purchase |
| click.mp3    | ui click, button click, soft click |

***

### Tips

* Keep sounds short (0.3 - 1.0 seconds)
* Use MP3 format
* Keep file size small (under 100KB each)
* If no sound files are provided the script works silently without errors


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://elena-scripts.gitbook.io/elenascripts/economy/shop/sounds.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
