This project is inspired by «Copper Pipe Glockenspiel». For more information, please read the manual «Tubular Bell Chimes - Do It Yourself Handbook». I will explain you how to build an Arduino controlled «Glockenspiel». This instrument is not perfect because of the slow servomotors, but it is a good exercise to learn Arduino (we used it at our LUG).
I used 9 pipes to have 9 notes, but you can build it with more pipes and choose other notes: just pick the notes you want into the table, and adjust the «ecarteur» file and the sketch