Install Quack! on your Mac

Open Terminal and then copy/paste the lines below (and press return)

cd ~/Library/Sounds
curl 'https://smartfriends.com/Quack!.aiff' > 'Quack!.aiff'
xattr -r -d com.apple.com.quarantine 'Quack!.aiff'
defaults write .GlobalPreferences com.apple.sound.beep.sound ~/Library/Sounds/Quack\!.aiff
osascript -e beep