Roadmap¶
KFilter6 already contains most of the major functional areas that were only planned in the first website draft. Current work is therefore moving toward numerical safety nets, model cleanup, documentation and release preparation.
The authoritative list of unresolved items lives in OPEN_POINTS.md in the repository and is updated with every patch that resolves an item or raises a new one. This page summarises it.
Current development priority¶
The next three steps are deliberately ordered.
1. Numerical regression baseline¶
Checked-in reference values for the 150 grid points of defined parameter sets, verified by a test, planned for Patch 304. Until that exists, the requirement "only with numerical regression" for the driver refactoring is an intention without a tool, so it has to come before any structural change to the calculation core. The Patch 300 test is the first building block: it compares against an independently implemented reference rather than against frozen numbers.
2. Separate UI state from the calculation core¶
The per-driver plot state is pure presentation state and currently lives inside the driver class. Moving it out is cheaper and lower-risk than taking apart the calculation chain, and it is a sensible first step of the refactoring.
3. Dependency audit of the derived model members¶
A dependency and lifecycle audit of the remaining private derived model parameters — including the sealed-enclosure loss terms — in small steps and only with numerical regression in place. The goal is to improve maintainability without changing established numerical behaviour.
Known numerical deviations¶
These are documented rather than fixed, and are listed here because they are visible in results:
- The frequency grid ends at approximately 19.1 kHz instead of 20 kHz. 149 steps from 20 Hz with factor
10^(1/50); 20 kHz would require 151 points. Whether this is an off-by-one inherited from the Pascal original or intentional is unresolved. - The grid definition exists twice. The driver code starts independently from the shared grid module, so the two grids differ by roughly
3.5e-9relative. Uncritical, but the definition belongs in one place. - The driver code uses rounded constants (
omega = 125.6637061,pi = 3.141592654,0.159154943for1/(2π)in the vented branch). They enter every grid point, so it has to be decided before the regression baseline whether they are frozen or cleaned up first. - In the simplified calculation mode the band-pass branch ignores the mode and always computes the full equivalent circuit including its normalization factor of roughly +22 dB, while the simplified branches of the other three types are normalized to 0 dB. A band-pass driver therefore probably sits at a different level in the summation. This has to be checked before the regression baseline freezes it.
- The parameter calculation silently replaces a diaphragm diameter
Dm = 0with 10, and that substitute is then written back into.kfpand.kfdfiles. The fallback belongs locally into the calculation.
Architecture¶
- The driver class is a God object: Thiele/Small parameters, enclosure model, passive network, two result caches and UI visibility state in one class.
- Three files hold nearly a third of the code: the application, project I/O and the network/plot rendering.
- Dialog smoke tests compile the dialog sources a second time into their own test target instead of linking against a shared UI library. Tolerable at three dialog tests, but it scales badly.
- Derived model members of an earlier enclosure configuration remain set after a type change. Harmless today, because only the matching branch reads them, but misleading for the dependency audit.
enable_testing()is called per test instead of once at top level, and the CMake project version0.1.0does not match the patch level.
Documentation and release preparation¶
- Complete the user documentation
- Add representative screenshots and example projects
- Document Linux dependencies by distribution
- Define an initial binary-distribution strategy
- Add release notes suitable for end users rather than internal patch handovers
The source repository and issue tracker are published; that item is done.
Recently completed¶
- Patch 303 — patch levels identified by commit title instead of tags; contracts brought up to date.
- Patch 302 — non-blocking
Qtsconsistency hint in the Driver Parameters dialog. - Patch 301 — review findings recorded as open points.
- Patch 300 — vented rolloff carries phase in the simplified calculation path.
Acoustic-model validation¶
Potential future work includes:
- additional empirical validation of local baffle-diffraction peak magnitude
- separate investigation of diffraction phase accuracy
- baffle/diffraction performance, in particular the 45-degree phase calculation, investigated separately and not mixed with UI or persistence changes
- more baffle-edge geometries
- top/bottom chamfers
- variable chamfer angles
- roundovers / radii
- more general convex enclosure geometry
These are optional extensions rather than prerequisites for the current practical design workflow.
Active-filter extensions¶
Possible later additions include currently unsupported combinations such as:
- Bessel band-pass
- Linkwitz-Riley band-pass
- generalized higher-order Q-defined sections, if a clear parameter model is chosen
Floor reflection¶
Floor Reflection is intentionally not a current expansion priority and remains marked experimental. Its response depends strongly on loudspeaker and listener placement, so it is retained primarily as an experimental analysis tool rather than a target for fixed compensation.
Deliberately unchanged¶
The following remain binding until a patch explicitly changes them:
- Floor Reflection stays marked experimental.
- The width-anchored
n = 2baffle low-frequency hybrid stays productive. - Active filters, measurements and baffle/floor processing stay in the documented complex processing chain.
- No format change without explicit versioning and an I/O regression test.