Description
DingSound plays custom audio files whenever your character levels up or earns an achievement.
- Listens for
PLAYER_LEVEL_UPandACHIEVEMENT_EARNED. - Plays the currently selected file (if enabled) for each feature independently.
- Uses a short playback buffer to avoid overlapping sounds when events happen quickly.
- When a feature is enabled, WoW's default sound for that feature is automatically muted.
- Adds options panels in Game Menu → Options → AddOns → DingSound:
- DingSound panel with addon overview and usage notes.
- Main Options subpanel for enabling/disabling level-up and achievement features.
- Custom Sounds subpanel for sound pickers, preview buttons, and duckout sliders.
- Put your files in:
Interface/AddOns/DingSound/Sounds/ - Open
DingSound_SoundList.lua - Add each file name to the
DingSoundSoundListtable. Example:
DingSoundSoundList = { "levelup.mp3", "fanfare.ogg", }
If the table is empty, the addon defaults to doing nothing on level-up.
Not directly. WoW addons run in a restricted Lua environment and cannot read arbitrary text files from disk at runtime.
Using a small dedicated Lua list file (DingSound_SoundList.lua) is the closest safe alternative: users only edit file names in one simple place and do not need to touch addon logic.
WoW addons cannot enumerate arbitrary files from disk at runtime, so the game cannot automatically discover files in the folder. The supported pattern is to maintain an explicit file list in addon data.


