From c3c1011cb6bf9bca28736b89049d76875a031ebe Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 18 Feb 2026 13:24:10 +0100 Subject: feat(mq_editor): implement MQ extraction improvements - Implement Predictive Kinematic Tracking to improve partial tracking during fast glissandos and vibrato. - Add Peak Prominence Pruning to filter out insignificant local maxima. - Replace heuristic Bezier fitting with a Least-Squares solver for more accurate trajectories. - Update UI to include a Prominence parameter input. - Archive MQ_EXTRACTION_IMPROVEMENTS.md design document. handoff(Gemini): implemented MQ extraction improvements (kinematic tracking, prominence pruning, least-squares bezier) --- doc/COMPLETED.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/COMPLETED.md') diff --git a/doc/COMPLETED.md b/doc/COMPLETED.md index 67724a1..3e02c40 100644 --- a/doc/COMPLETED.md +++ b/doc/COMPLETED.md @@ -29,6 +29,18 @@ Detailed historical documents have been moved to `doc/archive/` for reference: Use `read @doc/archive/FILENAME.md` to access archived documents. +## Recently Completed (February 18, 2026) + +- [x] **MQ Spectral Editor Improvements** + - **Goal**: Improve tracking accuracy and Bezier curve fitting for sinusoidal analysis. + - **Implementation**: + - **Predictive Kinematic Tracking**: Added velocity tracking to `mq_extract.js`. Partials now predict their next frequency (`freq + velocity`) during the search phase, improving tracking for fast glissandos and vibrato. + - **Peak Prominence Pruning**: Added `prominence` parameter (default 1.0 dB) to filtering. Discards peaks that don't stand out sufficiently from their surrounding "valley floor," reducing noise. + - **Least-Squares Bezier Fitting**: Replaced heuristic 1/3-2/3 control point placement with a proper least-squares solver for cubic Bezier curves. Minimizes global error across the entire partial trajectory. + - **UI Update**: Wired up the "Prominence" input in `index.html` to pass the value to the extraction engine. + - **Documentation**: Updated `tools/mq_editor/README.md` with new parameters and algorithm details. + - **Files**: `tools/mq_editor/mq_extract.js`, `tools/mq_editor/index.html`, `tools/mq_editor/README.md` + ## Recently Completed (February 17, 2026) - [x] **MQ Spectral Editor Phase 2: JS Synthesizer** -- cgit v1.2.3