Why did the ancient Chinese make loud noises at festivals and during holiday celebrations?

Responses:
to show loyalty to the emperor
to celebrate their blessings
to awaken the spirits of their ancestors
to chase away evil spirits

all of the above