Resonance (axial modes) can occur in two different theoretical
tube settings:
a tube with both ends open or with both ends closed (q=0 or 2)
fp [Hz] = p * c / (Leff*2)
a tube with one
end open and one end closed (q=1)
fp [Hz] = (2p-1) * c / (Leff*4)
With: p == 1, 2, 3, 4, ... (normal mode)
c (speed
of sound) = 337 [m/sec] at 10 °C
Leff (effective
length of tube) [m]
(= L + q*0.85*R if the tube has flanged ends)
L== length of
tube/string [m]
q == the number of open ends
(0, 1 or 2)
R == radius of tube [m]