The discrepancy is perhaps due to friction, whose influence would be greater in smaller pipes.
In practice, air is usually the vehicle of sound, other gases, liquids and solids are equally capable of conveying it.