when a doorbell rang; while playing with a tennis ball ; and when shut out of the house. She then analyzed some 4,500 barks on her computer, rating them according to their loudness, harshness, and pitch (whether they sound high-arf arf-or low-woof woof)