Glass-break detectors are designed to trigger an alarm whenever they hear this particular sound. Alternatively, some sensors can be installed directly on the window itself and can detect the vibrations that occur when the glass breaks. This is a great way to protect your home against burglars who may gain entry by smashing a window or glass door.