Had similar once, it was the wind blowing over the top of the rainwater downpipe where it met the gutter, took ages to discover.
Have you checked where the noise is originating from, inside or outside your home?
I wouldn't replace pipes, could be an expensive waste of time.
Good luck.