Pressure variations in a gas