It is forbidden to play a musical instrument on Shabbat, lest it break and he come to repair it. Clapping and dancing were also forbidden for this reason, as Maran the Shulchan Aruch ruled, and the Rema wrote that we do not protest against those who are lenient, because it is better they be shogegim and not mezidim, but a ba’al nefesh (a conscientious, spiritually sensitive person) should be careful himself. From the booklet of Rabbi David Shalom Naki, shlit"a.