Thanks to this website, I was able to create a pan flute from some straws and it really worked (I could play all the music I know on C major scale). However, the dimensions of the straws only correspond to the C major scale and I need flat & sharp notes + notes that are lower & higher.
The following dimensions are the ones I currently found:
19.5 cm : C
17 cm : D
15.5 cm : E
14.5 cm : F
13 cm : G
11.5 cm : A
10 cm : B
9.5 cm : C
But I can't find the relation between these dimensions (I know for some I have to divide by 2 due to semi tones and tones). I think it's some kind of an exponential function since the distance of a half-step lessens as a note is sharper.
Can you help me find the relation between these notes so that I can retrieve the other ones?