On my M1 Macbook Pro (Monterey), I sometimes get a sound effect when pressing certain key combinations. For example, if I open up Finder and then press Ctrl+B I will hear my generic system sound effect. Presumably, it is warning me that this keyboard shortcut doesn't do anything.
But this sound effect also plays with some functional keyboard shortcuts. For example, with some shortcuts that I have defined in the application IntelliJ as well as other apps.
I would just like to disable this altogether. I don't need to hear a sound when I've pressed the wrong keyboard shortcut. Not seeing the desired behavior is enough to warn me I've pressed the wrong shortcut. And randomly hearing this sound effect when I use valid shortcuts is often confusing me and causing me to look around my screen for some warning or alert since that is what such a sound effect is usually associated with.
I've tried going to System Preferences -> Sound -> Sound Effects and disabled "Play user interface sound effects". This disabled sounds such as moving a file in finder but did not disable keyboard shortcut sound effects. I looked through the "Keyboard" and "Accessibility" preference panes and couldn't find any other relevant settings.
Just to be sure this is an OS feature and not a feature of an app I installed, I tried booting in safe mode. I can confirm the issue persists in safe mode and is thus an OS-level feature that I am trying to disable.