a sound consists of pressure waves traveling through a medium