Joseph gardener
I would recommend having a roofer check your roof out. Maybe if a section is damaged there could be wind getting into the loft space causing the bang.... hard to say with out getting it inspected....most roofers will give a free roof check so there is nothing to lose joe