By rigging up a speaker and microphones to a water pipe, it might be possible to get early warning of damage that could lead to costly leaks.