I have used the code that Safae and Ploy found to test the sound shield a couple weeks ago for my project. I have modified the code to instead light up a light but to play sound when you complete the circuit (touch the drawing).

So far - I am having trouble reading what the sound code actually does and I am going to attend some TA hours in order to figure it out. There are many lines of code which I don't understand yet and the comments are few and not helpful to me.