Using a sound detector to move a servo motor

I've coded the sound detector to have an L.E.D blink and get the servo arm to move on its own but now its time to combined the two. Im working on a project that uses sound to create a physical output in this case moving a servo motor with sound. I only want to arm to move between 0-35 degrees max (Ive managed to do that by programming the board) but now I want to use sound to make the arm move. Having major issues doing this any advice I'm newish to arduino bought the started kit and so forth to help but no luck so far.

So post the code you are having trouble with along with a schematic of how things are wired up.