Pavlov discovered that we learn to associate an established response to a new event simply by repeatedly pairing the new event to a situation that already caused the response. Famously he could trigger salivation in a dog just with the sound of a bell, simply by ringing a bell every time food was presented.
This video uses exactly the same principle, but instead of food, an airgun pellet is fired at a college roommate causing a painful reaction, and instead of a bell, an annoying novelty alarm is sounded.
Science. Standing on the shoulders of giants.
Link to YouTube video.