The length of pipe determines the frequency; the diameter the amplitude.