summaryrefslogtreecommitdiff
path: root/tools/mq_editor/editor.js
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-18 12:13:09 +0100
committerskal <pascal.massimino@gmail.com>2026-02-18 12:13:09 +0100
commit362f862da4fb5d9c666c8ca7b0dc329d4b8d1f7e (patch)
tree9c8c3e7ce50c0bbc49b391aeac527ea0e5cec53e /tools/mq_editor/editor.js
parentce218b7459314dc9b7a5faf26139b8954a417b97 (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'tools/mq_editor/editor.js')
-rw-r--r--tools/mq_editor/editor.js2
1 files changed, 1 insertions, 1 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).' },