A crowd of people waving their arms.
a crowd of people were swaying to the music
The act of swaying doesn't mean they are waving their arms. They could be swaying because of something other than music.
(-x)
(-x)