a beeping occurs in a pattern