A matraca is a sound instrument that makes a strenuous noise. It was used in old times to announce church events, processions, etc. It is still used in processions sometimes to announce the change in the turn or to mark the pace. I have also seen matracas being used by fans at soccer games.
PS. Para los chapines, que ya se que estan pensando, aparte es a matraca!