Whistling pipes

What makes pipes whistle. In the morning only in the down stairs bathroom when you turn the shower on the pipe make a whistling noise it builds to a crescendo and stops. And is there any way to fix. the problem