Skip to content

Changelog

Current development snapshot — Patch 303

17 October 2026

Patch 303 is the current development baseline on the main branch. It is a documentation-only patch: patch levels are no longer tagged and are identified by their commit title Patch <n>: instead. The existing tags up to patch-301 remain. CONTRACTS.md was brought up to date with Patch 302, and the numerical regression baseline moves to Patch 304.

No source change. The binary and all registered tests are unaffected.

Patch 302 — Qts consistency hint

17 October 2026

Qts consistency hint

Qts, Qes and Qms could be set independently, with no indication when they contradicted 1/Qts = 1/Qes + 1/Qms. That matters because the simplified SPL model uses Qts, while impedance and the full-circuit model use Qes and Qms. An inconsistent set therefore describes two different drivers.

The Driver Parameters dialog now shows a non-blocking hint next to Qts with the value derived from Qes and Qms and the signed deviation. "Calculate Qts from Qes and Qms" is only enabled while the values are inconsistent. A deviation counts as inconsistent only if it exceeds both 2 % relative and 0.005 absolute; the absolute tolerance covers data sheets that round Qts to two decimals.

Loading and validation are unchanged: an inconsistent file still loads, because published manufacturer data is routinely inconsistent in this respect.

Patch 301 — Review findings recorded

15 October 2026

A review of driver.cpp, CMakeLists.txt and the project documents. No source change; the findings were recorded in OPEN_POINTS.md:

  • in the simplified calculation mode the band-pass branch always uses the full equivalent circuit including its normalization factor, so a band-pass driver probably sits at a different level than the other enclosure types
  • calculateParameters() silently replaces Dm = 0 with 10, and that substitute is written back into .kfp and .kfd files
  • the rounded constants omega, pi and the vented bandwidth term must be settled before reference values are checked in
  • derived members of earlier enclosure configurations remain set after a type change
  • CTest structure, project version and test environment need tidying up

The numerical regression baseline moved to a later patch accordingly.

Patch 300 — Vented rolloff carries phase

30 August 2026

In the simplified calculation path the vented branch contributed magnitude only. It evaluated |H| of the fourth-order high-pass with the real and imaginary parts of the denominator already collapsed under a square root, so the phase was never discarded — it was never formed. Open Baffle, Sealed and Bandpass all used complex transfer functions in the same mode, which made the vector summation across a crossover involving a vented driver wrong.

The denominator is now built as a complex number and the response formed as bx / D. The magnitude is mathematically identical, so the SPL curve of an individual vented driver does not change. The vector sum does.

There is deliberately no switch for this. The phase-free calculation was a performance measure of the DOS-era original, not a modelling variant; tag patch-299 preserves the previous behaviour should a comparison ever be needed.

A new smoke test covers five vented alignments and asserts that the magnitude still matches the historical scalar formula to within 1e-12 relative, that the complex response matches an independently implemented reference, and that the phase is present, monotonic and rotates by more than 200 degrees.

No format change and no dialog change. Registered CTests: 22 → 23.

Patch 299 — Contracts and open points move into the repository

30 August 2026

CONTRACTS.md is new and is now the single authoritative statement of what currently holds: persistence formats, the enclosure-type mapping, the network serialization boundary, the frequency grid, the driver and enclosure model, the parameter validation rules, the processing chain, the test strategy and the patch procedure. OPEN_POINTS.md is new and lists what is known to be unresolved, including deliberate deviations that are documented rather than fixed.

Both documents are versioned with the code, so a contract change and the code change that causes it now travel in the same commit. PORTING.md remains the chronological record of how each patch came about; where it disagrees with CONTRACTS.md, the contract wins and the disagreement is a defect.

The handover procedure changed with this patch: the Git repository is the authoritative basis, patches are exchanged as git format-patch and applied with git am -3, and a repackaging no longer consumes a patch number. All text files are pinned to LF line endings.

No source change. The binary and all registered tests are unaffected.

Patch 298 — Thiele/Small parameter validation on all loading paths

30 August 2026

The acoustic core divides by Rdc, Qts, Qes and Qms, and on the tuned enclosure paths by Vas. None of those divisions was guarded, so a .kfp or .kfd file carrying a zero or negative value loaded successfully and produced non-finite pressure and impedance samples across the whole frequency grid.

A new validation module holds the single authoritative rule set. All three deserialization paths — JSON .kfp, legacy text .kfp and .kfd — call it before applying values to a driver instance. No file that produced finite results before Patch 298 is rejected.

Registered CTests: 21 → 22.

Patch level goes 296 → 298. Patch 297 was a pure handover repackaging with no source change and is intentionally absent from this line.

Patch 296 and earlier — dialog refinements

27–30 August 2026

  • The bass-reflex tube row in the Driver Parameters dialog is now a single combined Tube D / L row with aligned diameter and length columns, instead of two separately labelled fields.
  • The Network / Filter Parameters dialog shows the name of the driver being edited below the section table, falling back to Driver n for unnamed slots.
  • Test tooling was consolidated; several overlapping diagnostic targets were merged into the corresponding response smoke tests.

Patch 292 — Driver & enclosure improvements

20 August 2026

  • The Driver Parameters dialog enables enclosure fields according to the selected enclosure type. Irrelevant values are disabled but retained, so switching between enclosure types is non-destructive.
  • Bass-reflex tube diameter and tube length are bidirectionally linked. Either value can be edited, and KFilter6 calculates the other analytically from Vb and Fb.
  • Ql affects sealed-enclosure damping in the simplified SPL path, full-circuit SPL path and impedance model. Vented and band-pass behaviour is unchanged, and Open Baffle remains independent of Ql.

Internal maintenance milestone

The maintenance series leading to Patch 288 replaced the historical flat passive-network array with a structured private eight-section model and completed the encapsulation of driver state and response caches. These changes are maintainability work and are not intended to alter saved project semantics or established simulation results.

File formats

The formats have been stable across all patches listed above:

  • .kfp project format v10, with legacy text projects and JSON versions 1–9 still readable
  • .kfd complete driver-slot format v2
  • tube diameter remains the persisted tube dimension; tube length remains derived

Website

This website content has been updated from the Patch 303 repository state dated 17 October 2026.