Add SoundField room planner, copy channel settings and global mute

SoundField (new tab, static/soundfield.js):
- top view of the room with stage, speakers placed by dragging and aimed with a handle,
  type presets, height, coverage, max SPL and DSP output assignment
- level map (tops by energy), sub map with phase at a chosen frequency, timing map
  for delay/fill speakers, audience statistics
- suggestions with one-click apply: aiming, main height, delay line, sub centre cluster
  (power alley), front fills, quick start layout
- delays from the speed of sound and temperature, written to the assigned DSP outputs
- plan stored by the server (shared, part of the settings backup)

Copy channel settings: level/filters/EQ/dynamics/routing to any channels of all connected DSPs.
Mute all: mutes every channel of every connected DSP and unmutes only what was open before,
also on DSPs that reconnect later; works while the app window is locked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
GivouandClaude Opus 5.5 committed 2026-11-01 22:38:49 +01:00
1 parent ffb6c05d47
commit a7ee66d761
8 files changed
+998 -12

No files matched your search

+55
View File
@@ -510,3 +510,58 @@ button.chip.ov.on i { background: var(--oc); }
body.testlock #viewtabs button:disabled, body.testlock #btn-settings:disabled, body.testlock .devtab:disabled { opacity: .35; cursor: not-allowed; }
.testbanner small { display: block; font-weight: 400; margin-top: 2px; color: var(--dim); }
.pol { display: inline-block; margin-left: 4px; font-size: 13px; font-weight: 700; line-height: 14px; color: #e879f9; vertical-align: -1px; }
/* ---- global mute */
#btn-muteall svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#btn-muteall.on { width: auto; padding: 0 12px; gap: 6px; background: #991b1b; border-color: var(--bad); color: #fff; font-weight: 700;
letter-spacing: .06em; animation: mutepulse 1.6s ease-in-out infinite; }
@keyframes mutepulse { 50% { box-shadow: 0 0 14px #ef4444aa; } }
/* ---- copy dialog */
.copydlg .sub { margin: 12px 0 6px; }
.copygroups { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px 14px; }
.copygroups label.chk { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.copygroups label.chk input { width: 18px; height: 18px; }
.copydev .chips { margin-top: 0; }
button.chip.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, var(--panel)); color: var(--text); }
/* ---- SoundField */
.sflayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 1100px) { .sflayout { grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); align-items: start; } }
.sfmain { padding-bottom: 10px; }
.sfbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.sfbar h3 { margin: 0 auto 0 0; }
.sfadd { display: flex; flex-wrap: wrap; gap: 6px; }
.sfmode { display: flex; gap: 6px; align-items: center; }
.sfmode select.short { width: auto; padding: 4px 8px; min-height: 0; font-size: 12px; }
.sfcanvas { display: block; width: 100%; height: 480px; touch-action: none; border-radius: 8px; outline: none; cursor: crosshair; }
.sffoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 8px; min-height: 18px; font-size: 12px; color: var(--dim); }
.sflegend { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.sflegend .sw { display: inline-flex; align-items: center; gap: 5px; }
.sflegend .sw i { width: 12px; height: 12px; border-radius: 3px; opacity: .85; }
.sflegend .stat { color: var(--text); }
.sfreadout { font-variant-numeric: tabular-nums; }
.sfside { display: grid; gap: 14px; }
.sfgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.sfgrid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--dim); }
.sfgrid label.full { grid-column: 1 / -1; }
.sfgrid input, .sfgrid select { width: 100%; min-width: 0; }
.sfedit .dotc, .sftable .dotc { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--rc); margin-right: 8px; flex: none; }
.sfedit h3 { display: flex; align-items: center; }
.sfedit .sub { margin: 12px 0 4px; }
.sfouts { margin-top: 6px; }
.sfouts small { color: var(--dim); }
.sfouts .chips { margin-top: 4px; }
.sfsug .sfitem { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; margin-top: 8px; font-size: 13px;
background: var(--panel2); border-left: 3px solid var(--accent); }
.sfsug .sfitem.warn { border-left-color: var(--warn); }
.sfsug .sfitem.ok { border-left-color: var(--ok); }
.sfsug .sfitem.info { border-left-color: var(--dim); }
.sfsug .sfitem button { flex: none; }
.sftable { width: 100%; border-collapse: collapse; font-size: 13px; }
.sftable th { text-align: left; font-weight: 600; color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 6px; }
.sftable td { padding: 6px; border-top: 1px solid var(--line); vertical-align: middle; }
.sftable td small { display: block; color: var(--dim); font-size: 11px; margin-left: 18px; }
.sftable td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sfdelays .info label.inline { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.sfdelays .info input.short { width: 70px; }