Question: how do panpipes change pitch?
Answer: A larger volume vibrates more slowly, for lower pitch; a smaller volume vibrates more quickly, for a higher pitch. For most woodwinds, the player changes pitch by opening and closing holes along the instrument's length. Closing more holes makes the instrument longer, making the notes lower.