From 362f862da4fb5d9c666c8ca7b0dc329d4b8d1f7e Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 18 Feb 2026 12:13:09 +0100 Subject: feat(mq_editor): global r/gain overrides for Resonator (all) mode Add r (pole) and gain sliders with force r/gain checkbox in Synthesis panel, visible when Resonator (all) is active. Restrict r range to [0.75, 0.9999] for both global and per-partial sliders. handoff(Claude): global resonator r/gain override controls added Co-Authored-By: Claude Sonnet 4.6 --- tools/mq_editor/editor.js | 2 +- tools/mq_editor/index.html | 30 +++++++++++++++++++++++++++++- tools/mq_editor/mq_synth.js | 6 ++++-- 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/tools/mq_editor/editor.js b/tools/mq_editor/editor.js index f57e177..97d8a7a 100644 --- a/tools/mq_editor/editor.js +++ b/tools/mq_editor/editor.js @@ -219,7 +219,7 @@ class PartialEditor { const resObj = partial.resonator || {}; const resParams = [ - { key: 'r', label: 'r (pole)', step: '0.001', min: '0', max: '0.9999', + { key: 'r', label: 'r (pole)', step: '0.001', min: '0.75', max: '0.9999', title: 'Pole radius. r→1 = narrow bandwidth / long ring. r→0 = wide / fast decay.' }, { key: 'gainComp', label: 'gain', step: '0.01', min: '0', max: '100', title: 'Output gain multiplier (gainNorm=√(1-r²) normalises power; use this to trim level).' }, diff --git a/tools/mq_editor/index.html b/tools/mq_editor/index.html index b37eaaf..c663c69 100644 --- a/tools/mq_editor/index.html +++ b/tools/mq_editor/index.html @@ -349,6 +349,19 @@ +