You can create separate profiles one with sound disabled (default) and one with sound enabled. These are available both in Terminal and iTerm2.
iTerm2
You can create separate profiles one with sound disabled (default) and one with sound enabled. These are available both in Terminal and iTerm2.
iTerm2