A dog bark may set off a vibration-based sensor, which must be placed directly on the glass and alert to any strong vibrations. However, audio sensors such as the ones discussed above are tuned specifically to the frequency of glass breaking, so other sounds won’t trigger an alarm.