Worked example

A horn for 800 to 1600 Hz

One real run, from the command to the files you would build from. Every number on this page comes from run 20261117T005341Z-14e497b7 (source revision 51427ee) unless another run is named.

In short

The question was which driver, on which horn, gives the most level and a flat response from 800 to 1600 Hz, using seven hand-checked drivers. The answer is an 18Sound 6NMB420 6.5 inch cone on a horn 117.9 mm long, with a 72.1 mm throat and a 177.4 mm mouth (diameters). It is predicted to stay within 2.08 dB across the band at 104.13 dB for 2.83 V at 1 m. The two compression drivers that reached the 3D stage were rejected because the band starts below their rated range. If you are new to the terms, read horn basics first.

This is an experimental prediction. The winning driver's front chamber is estimated, not measured, and no horn and driver assembly from this project has been measured yet. See caveats.

On this page:

  1. The question
  2. What the search did
  3. The winning design
  4. Why the runners-up lost
  5. What was rejected
  6. Adding a length cap
  7. Why the old winner no longer wins
  8. The files and how to build
  9. Caveats

1. The question

"Which of my drivers, on which horn, gives the most level and the flattest response from 800 to 1600 Hz?" As a command:

just run-auto --target_f_low 800 --target_f_high 1600 --drivers_db data/drivers-curated \
  --lem_top_n 3 --refinement_budget 2 --num_bands 2 --num_intervals 101 --mesh_size 0.01
--target_f_low 800 --target_f_high 1600
The band the horn must cover. Ripple and mean level are measured over it. The solver sweeps wider, from 400 to 2263 Hz, to find the f3 points.
--drivers_db data/drivers-curated
The seven hand-checked driver records: three cone drivers and four Peerless compression drivers.
--lem_top_n 3
Send three horns from the fast screen to the 3D solver.
--refinement_budget 2
Allow two extra 3D solves to adjust the best design.
--num_bands 2
Split each solve into two frequency bands that run in parallel.
--num_intervals 101
101 frequency points in the sweep.
--mesh_size 0.01
Largest mesh element 10 mm. The solver uses a finer size where the wavelength needs it.

Everything else is a default: 2.83 V RMS drive, a microphone 1 m away on axis, the modal_baffled mouth model (an infinite baffle), a 6 dB ripple limit and a compression ratio limit of 10. The search budget is small on purpose so the run is quick. A larger budget may find a different design.

  1. Driver screen: 5 of 7 kept. The 18Sound 6NMB420, Celestion AF3010 and TF0512HE, and the Peerless DFM-2535R00 and DFM-2544R00 passed. The Peerless DFL-2525R00 (Fs 1597 Hz) and DFM-2535R01 (Fs 2026 Hz) resonate above the screen's limit of 1.5 times 800 Hz.
  2. Throats: 5 proposed, 4 used. Radii of 12.7, 24.7, 36.1, 50.0 and 130.7 mm. The largest is the size where the first axisymmetric duct mode reaches 1600 Hz (ka = 3.83). It is wider than every mouth searched, so it produced no horn. The 36.1 mm radius throat (72.1 mm diameter) was proposed because it puts the 6NMB420's estimated front chamber corner at 1600 Hz.
  3. Geometry grid: 230 horns. Mouth radius from 47.8 to 88.7 mm and length from 107.2 to 214.4 mm, three values each, derived from 800 Hz. Crossed with the throats and the seven profiles that gives 33 horns per profile (32 tractrix).
  4. Webster screen: 1,150 pairs. Every horn with every kept driver, scored with a one-dimensional model. Three horns went to the 3D solver: a cd, an exponential and a scaled tractrix, all with the 36.1 mm radius (72.1 mm diameter) throat.
  5. 3D FEM: 25 pairs scored. The five solved horns (three from the screen, two from refinement) times the five drivers. Ten pairs were rejected, all of them Peerless.
  6. Refinement: 2 more horns. Starting from the best 3D design (auto_cd_0221), it first tried a smaller mouth (score 0.758, worse), then a longer horn at the full mouth (score 0.791, better). That used the whole budget. The mouth ended on the upper edge of its search range, so a larger budget would have tried bigger mouths.

Sources: prescreen_result.json, design.json, candidates.csv, lem_results.json and refinement/search_audit.json in the run's outputs/auto/ folder.

3. The winning design

The 18Sound 6NMB420, a 6.5 inch cone driver, on a cd horn: an exponential throat that blends into a cone.

72.12 mmThroat diameter
177.42 mmMouth diameter
117.91 mmLength
2.08 dBRipple, 800 to 1600 Hz
104.13 dBMean level, 2.83 V, 1 m
485 to 2024 Hzf3 points
In-band level103.15 to 105.23 dB. Peak 106.4 dB at 684 Hz, below the band.
Extension past the band1.06 octaves in total
Electrical impedance5.5 to 6.2 ohm in band
Peak cone excursion0.028 mm in band at 2.83 V; Xmax is 3 mm
Input power1.45 W at most in band at 2.83 V; rated 200 W
Group delay0.03 to 0.35 ms in band
Front chamberEstimated 139.4 cm3 (the open cone closed by a flat plate); Sd / throat area 3.18; corner 1600 Hz
Score0.791. Status insufficient_evidence: the model finds no limit broken, but driver data are missing.
3D view and wall profile of the cd horn for the 6NMB420: throat 72.1 mm, mouth 177 mm, length 118 mm
The winning horn in 3D, with its wall profile on the right. This is the air passage; the STEP file below has the same shape.

The score is the published formula with default weights. For this design: 0.625 × (104.13 − 60) / 60 for level, plus 0.25 × (1 − 2.08 / 12) for ripple, plus 0.125 × 1 for extension (any extension of one octave or more earns the full term). That gives 0.460 + 0.207 + 0.125 = 0.791.

Predicted level of the winning pair from 400 to 2263 Hz. Inside the shaded 800 to 1600 Hz band it stays between about 103 and 105 dB
The winner alone: predicted on-axis level at 2.83 V and 1 m, drawn from coupled_01_18sound-6nmb420_refine_cd_0001.csv. The shaded area is the target band.
Predicted on-axis level from 400 Hz to 2.3 kHz for the top five pairs, all using the 6NMB420. The winner is flattest across the shaded 800 to 1600 Hz band
Frequency response of the top five pairs at 2.83 V RMS and 1 m on axis. The shaded area is the target band.
Electrical impedance magnitude, peak cone excursion against the 3 mm Xmax, and group delay for the top five pairs
Electrical impedance, cone excursion against Xmax and group delay. Excursion is far below Xmax at 2.83 V. This is a linear check, not a maximum output or thermal prediction.
Predicted beamwidth against frequency for the top five horns
Predicted beamwidth in an infinite baffle. Experimental and not validated.
Horn-only level of the five ranked horns at 1 Pa throat pressure, without any driver
The horns on their own, driven by a fixed 1 Pa at the throat with no driver attached. This shows what the horn shape does before the driver is added.
Acoustic throat impedance magnitude and phase of the five ranked horns
The acoustic load each horn puts on the driver (not the electrical impedance). Solid lines are magnitude, dotted lines are phase. Peaks and dips in this load are what turn into ripple once the driver is attached.

4. Why the runners-up lost

All of the top five use the 6NMB420 and the 72.1 mm diameter throat. The first three are within 0.02 of each other, which the report marks as a near tie. Treat them as equivalent.

#HornProfileMouth dia. (mm)Length (mm)Ripple (dB)Mean (dB)f3 (Hz)Score
1refine_cd_0001cd177.4117.92.08104.13485 to 20240.791
2auto_cd_0221cd177.4107.22.36104.14512 to 20330.785
3auto_exp_0057exponential177.4107.22.71104.24524 to 19320.772
4refine_cd_0000cd159.7107.23.35103.56496 to 19640.758
5auto_sca_0189scaled tractrix177.4160.83.69103.59414 to 21570.752

The other two cone drivers were feasible but quieter. The best Celestion TF0512HE pair gives 96.8 dB (score 0.692) and the best AF3010 pair 90.8 dB (0.652). With the default weights, 7 dB less level outweighs any ripple advantage.

Source: refinement/ranked_results.json and report/auto_summary.txt.

5. What was rejected and why

Ten pairs failed a hard limit. All are the two Peerless compression drivers, on each of the five horns.

ReasonPairsMargin
Target band outside the driver's usable band10Both drivers are rated from 1500 Hz; the band starts at 800 Hz
Excursion above Xmax at 2.83 V5DFM-2535R00 only: about 0.16 mm against a 0.1 mm Xmax, over by 0.06 mm on every horn

A rejected pair is not hidden. The report lists it with the limit and the margin, so you can tell a near miss from a hopeless one. Source: report/auto_rejections.json.

6. Adding a length cap

Suppose the horn must fit in 100 mm. Add one flag:

just run-auto --target_f_low 800 --target_f_high 1600 --drivers_db data/drivers-curated \
  --max_length 0.1 --lem_top_n 3 --refinement_budget 2 --num_bands 2 --num_intervals 101 --mesh_size 0.01

The length search moves to 40 to 100 mm. The screen scored 221 horns and 1,105 pairs and sent three to the 3D solver. The report warns that 100 mm is below the quarter-wave sizing rule for 800 Hz, which suggests horn loading weakens below about 858 Hz. It also says the model does not show that shortfall for the winner.

#HornLength (mm)Ripple (dB)Mean (dB)Lower f3 (Hz)Score
1refine_conical_000163.01.40103.746490.789
2auto_con_002570.01.66103.846210.789
3auto_cd_0214100.02.47104.155320.781

The winner is a plain conical horn 63 mm long, with the same driver, throat and mouth. Compared with the uncapped cd horn it is 55 mm shorter, 0.4 dB quieter and 0.7 dB flatter in band, and it gives up extension below the band (649 Hz against 485 Hz). The scores are 0.791 and 0.789, so on this score the shorter horn costs almost nothing. Run 20261117T083036Z-36f3461c; open its report.

Predicted on-axis level of the top five pairs when the horn length is capped at 100 mm
Top five pairs with the 100 mm cap, 2.83 V RMS, 1 m on axis.

7. Why the old winner no longer wins

Earlier versions of the pipeline treated the throat as an ideal connection to the driver. For this same command they chose a hyperbolic horn with a 65.0 mm throat diameter, 177.4 mm mouth diameter and 117.9 mm length, at 1.49 dB ripple and 104.88 dB (archived in examples/800-1600-modal).

A real cone driver has air between the cone and the throat: the open cone, closed by the adapter plate. That volume acts as a low-pass filter. Its corner frequency rises with throat area and falls with chamber volume. The pipeline now estimates the volume for cone drivers that have no measured value: 139 cm3 for the 6NMB420.

The real adapter will differ. A spacer adds volume; a phase plug or cone filler removes it. Measure it, put it in the driver record as front_chamber_volume_cm3 and rerun before you trust either answer.

8. The files and how to build

Inside the run's outputs/auto/ folder:

FileWhat it is
refinement/refine_cd_0001.stepThe winner's air volume at true size in millimetres, for CAD.
report/profile_01_refine_cd_0001.csvThe wall radius r_mm at 101 positions z_mm from the throat.
report/coupled_01_18sound-6nmb420_refine_cd_0001.csvLevel, impedance, excursion, input and acoustic power, and group delay per frequency.
report/auto_report.htmlThe self-contained report. This run's report.
refinement/ranked_results.json, report/auto_rejections.json, refinement/search_audit.jsonThe ranking with score terms, the rejections with margins and the refinement trail.
True-scale cross-section of the two winning horn walls. The cd horn curves gently from a 36 mm throat radius to an 88.7 mm mouth radius over 117.9 mm. The capped conical horn reaches the same mouth in 63 mm with straight walls
The two winners drawn from their profile CSVs at true scale.

To build it:

  1. Import the STEP into CAD, or loft the profile CSV. It describes the air passage only.
  2. Add a wall thickness outward from that surface, a mouth flange or baffle, and a throat flange that matches the driver's bolt pattern.
  3. Design the adapter between the cone and the 72.1 mm diameter throat. Measure the air volume it leaves in front of the cone and rerun with that value, because the response depends on it.
  4. Measure the result. A measurement of a built horn and driver is the evidence this project most needs.

9. Caveats

The same walkthrough in the repository: WORKED_EXAMPLE. Search rules: SEARCH_AND_SCORING. Files: OUTPUTS.

Run it yourself Open the full report GitHub repository