The beep that occurs when working at the command-line or inside a text editor is not controlled by Gnome settings. Instead, it is controlled by a terminal profile. Open a terminal, right-click and select 'Edit Current Profile'. Then uncheck the 'Terminal Bell' checkbox.