If the noise occurs when you shut off the water, then water hammer might be the culprit. In this case, the stream of water stops abruptly, and the energy creates a shockwave inside the pipe. As the ...