A crowd waved flags to the rhythm of the music, and a man wearing a headphone sang.