Why would you want to mute everything except addon sounds?
I don't know if there is an easy way to do this, otherwise you'd have to override all the .ogg sound files in the game (you can find it with
FileDataLib or from the listfiles in tools like
CASCExplorer /
CascView
https://eu.battle.net/forums/en/wow/topic/17615402393