Fundamental frequency of a rectangular-cavity whistle

Click For Summary
SUMMARY

The discussion centers on the design and acoustic properties of a 3D-printed whistle with a rectangular cavity. The whistle dimensions are 25mm long, 11mm wide, and 4mm deep, featuring a 4x11mm window. The fundamental frequency is influenced by the cavity's volume rather than just its length, with the formula for a tube open at one end being used to approximate the frequency. Adjusting the end correction factor to 0.5 provides a predicted frequency that closely matches observed tones, indicating the importance of this factor in accurate frequency prediction.

PREREQUISITES
  • Understanding of parametric CAD modeling
  • Knowledge of acoustic principles, specifically resonant frequencies
  • Familiarity with the speed of sound and its application in frequency calculations
  • Experience with 3D printing technology
NEXT STEPS
  • Research the Helmholtz resonance and its application to non-spherical cavities
  • Explore the effects of end correction in acoustic tubes
  • Learn about the design and tuning of wind instruments
  • Investigate advanced acoustic modeling software for precise frequency predictions
USEFUL FOR

Engineers, acousticians, and hobbyists interested in designing wind instruments or optimizing acoustic properties in 3D-printed models.

Anachronist
Gold Member
Messages
123
Reaction score
59
I designed a parametric CAD model of a whistle that can be 3D printed. Basically I designed the internal airspaces, put a skin around it, and printed it. Combine two of these in the same enclosing body, with slightly different frequencies, and you get a warbling sound similar to a pea whistle. This works as planned.

My whistle design uses a rectangular cavity. Typical dimensions would be 25mm long, 11mm wide, and 4mm deep, with a 4x11mm window at the top (air is blown onto the downstream edge of the window to drive the vibrations in the cavity).

I thought that because the cavity is open on one end (actually the end of one side) the fundamental frequency would be controlled by the overall length, but that isn't the case. Based on ##f=v/λ##, with the speed of sound ##v## as 343,000 mm/sec, 25mm of length would be a quarter-wavelength of 3430 Hz.

It's close... but the whistles always produce a tone a few steps lower than intended. If I change the depth of the cavity (say, change from 4mm to 3mm or 5mm) the pitch changes. Even worse, when I blow harder, the pitch changes -- one whistle goes up slightly and the other goes down slightly, removing the beating effect, so I suspect that something other than the cavity length becomes dominant.

So I suspect the fundamental frequency is based on volume, like the Helmholz resonance only my cavity isn't spherical and has no neck.

I found a formula for finding the fundamental frequency of a closed rectangular box which might be helpful except one end of my box is open.

Information I've found about resonant frequencies of open rectangular cavities are all academic papers that seem quite involved.

Is there a good simple approximation for finding the fundamental frequency of a rectangular whistle?
 
Last edited:
Physics news on Phys.org
Update: It occurs to me that maybe I can approximate this by using the formula for the resonant frequency of a tube open at one end:
$$ f=\frac{nv}{4(L+0.4d)}$$
where ##n=1## is the first resonance, ##v## is the speed of sound, ##L## is the cavity length, and ##d## is the effective diameter. I would calculate ##d## as the equivalent diameter of a circle of the same cross-sectional area; that is,
$$d=2 \sqrt{\frac{W L}{\pi}}$$
Solving for ##L## using a frequency of 3430 Hz, I get 22 mm, which is shorter than the 25 mm quarter-wavelength for that frequency. That might explain why my whistles have a lower pitch than I planned; my cavity is too long for the frequency I want.

Using this to calculate the frequency given that I already have a whistle that's 25 mm long, I get a frequency of 3063 Hz, which is still somewhat higher in pitch than the whistle, but maybe close enough for my purposes.

Another update: Looking further, I learned that the 0.4 term is known as an end correction because the pitch of a real tube is actually lower than the theoretical pitch. If I adjust this fudge factor to 0.5 the predicted frequency is quite close to what I'm observing, judging by comparing it by ear to this online tone generator.
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
3
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K