How to mute sound alert when a key is not recognized?
You can completely disable alert sounds. If it's right for you, do it this way :

Go to System Preferences.app &gt; Sound &gt; Sound Effects
Mute the Alert Volume using the slider