The motion of the guitar string, as shown in the picture is:
vibratory
The string is fixed at two ends and is moving to and fro about its mean position. So, we can say that the motion is vibratory.
Particular components of guitar, drum and other musical instruments vibrates and produces sound.