We have seen recently that many cheap speakers have port resonances. It looks to me they do use basic port (a tube).
I have seen a few better designs, KEF or Yamaha comes to mind. Do you have other examples? I am surprised that
designers are not doing better, this is a very well studied fluid dynamics problem.
Yamaha example (from this
website):
View attachment 124787
KEF example (from
LS50 meta manual):
View attachment 124788
The pictures show effect of flaring, which has no significance for resonances and midrange leakage. Flaring reduces turbulence, which gives reduced distortion and noise and increased efficiency due to reduction of losses.
For lower frequencies and higher spl, the only solution that works is to increase port area.
Resonances and midrange leakage is caused by the port changing from behaving like a lumped element acoustic mass at low frequencies into a pipe at higher frequencies. This can be a problem especially in full-range ported speakers, and any resonance or undesired sound leakage will have a negative effect on the speakers sound quality.
This is easy to measure, just put the mic in the port opening, and you have a sufficiently accurate nearfield measurement.
The length of the port decides the frequency of the 1. resonance, and then there will be midrange leakage from sound inside the cabinet. Amount of leakage is determined by port location, cabinet dimensions and placement of damping materials, placement of driver.
This undesired behaviour can be reduced by optimising the design of the cabinet and the port. It may be difficult to achieve a perfect result. Simulation combined with technical competence and measurements is how to do it.
Resonance in a port can be reduced by adding small holes in the port walls, where dimensions and position of holes is best determined by simulation. Typical improvement of more than 10dB is possible, and in some cases this can be the difference between audible coloration or nice sound.