If the banging sound is consistent and constant, then its probably a mechanical problem related to the revolution of the motor. If its inconsistent or goes away when you pull the choke, or swap fuel pumps/carbs etc, then its obviously not a mechanical issue and must be related to combustion.