In older-home attics, unsettling bangs are more likely to be the sounds of trusses, joists, rafters and sheathing expanding or contracting as the roof heats up or cools down. Metal roofs are major offenders but shingled roofs also can be quite noisy.