I had a Redheaded woodpecker doing that last year- drove us nuts. I finally bungeed a mudflap onto the chimney cap for the summer, it didn't stop him but at least it muted the noise until he got over it!
I used to burn some paper but he always came back. If they start pecking at your house, try and get some tobasco sauce on the spot they are pecking. Works good.