Looks per preset, steadier DJ Brake, no zoom on phones, simple dashboard on touch
Colours and link group names now belong to the preset (by name, the DSP has no IDs) and travel in preset files. DJ Brake: limiters are left out instead of chosen; a slowly falling peak mark, an average bar, a warning before the limit, and it learns from real hits where the limiter sits on the meter. Pinch and double tap zoom are off. On touchscreens the dashboard only offers widget settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
99613327f8
commit
cf35a1faa1
11 files changed
+232
-48
No files matched your search
+11
-4
@@ -1678,6 +1678,7 @@ function colorCard(d) {
|
||||
g.length > 1 ? h("span", { class: "lnk" }, svgIcon(ICON.link)) : null);
|
||||
};
|
||||
return h("div", { class: "card wide colorbox" }, h("h3", {}, t("Channel colours")),
|
||||
h("p", { class: "info" }, t("Colours and group names belong to the loaded preset (by its name) and come back when you load it.")),
|
||||
h("p", { class: "info" }, t("Shown on the mixer strips and in the channel view. Linked channels share one colour; every colour can only be used once per DSP.")),
|
||||
h("div", { class: "colgrid" },
|
||||
h("div", {}, h("div", { class: "sub" }, t("Inputs")), chanGroups(d, "in").map(g => row("in", g))),
|
||||
@@ -2401,7 +2402,12 @@ function djMarginOption() {
|
||||
catch (e) { toast(t("Error: ") + trMsg(e.message)); render(); }
|
||||
} });
|
||||
return h("div", { class: "djlim" }, h("div", { class: "row" }, h("b", { class: "grow" }, t("Warn earlier")), val), input,
|
||||
h("p", { class: "info" }, t("The page acts as if the limiter came this much earlier, so the DJ stays below the real one. The limiter itself does not change and the page does not show this setting.")));
|
||||
h("p", { class: "info" }, t("The page acts as if the limiter came this much earlier, so the DJ stays below the real one. The limiter itself does not change and the page does not show this setting.")),
|
||||
h("p", { class: "info" }, t("With every real limiter hit the page learns where the limiter sits on the meter, so the distance gets more accurate.")),
|
||||
h("button", { class: "small", onclick: async () => {
|
||||
try { await api("PUT", "/api/djbrake", { relearn: true }); toast(t("Learned limiter levels forgotten")); }
|
||||
catch (e) { toast(t("Error: ") + trMsg(e.message)); }
|
||||
} }, t("Forget learned levels")));
|
||||
}
|
||||
|
||||
function djHintOptions() {
|
||||
@@ -2426,11 +2432,12 @@ function djLimiters() {
|
||||
try { S.djIgnore = (await api("PUT", "/api/djbrake", { ignore })).ignore; render(); }
|
||||
catch (e) { toast(t("Error: ") + trMsg(e.message)); }
|
||||
};
|
||||
return h("div", { class: "djlim" }, h("b", {}, t("Limiters that count")),
|
||||
return h("div", { class: "djlim" }, h("b", {}, t("Leave out these limiters")),
|
||||
h("p", { class: "info" }, t("All others count. Muted outputs never count.")),
|
||||
devs.length ? devs.map(d => h("div", { class: "djdev" }, devs.length > 1 ? h("small", {}, d.name) : null,
|
||||
h("div", { class: "djchs" }, chans(d, "out").map((c, i) => {
|
||||
const on = !(S.djIgnore[d.id] || []).includes(i);
|
||||
return h("button", { class: "djch" + (on ? " on" : ""), "aria-pressed": String(on), onclick: () => toggle(d.id, i) },
|
||||
const out = (S.djIgnore[d.id] || []).includes(i);
|
||||
return h("button", { class: "djch" + (out ? " out" : ""), "aria-pressed": String(out), onclick: () => toggle(d.id, i) },
|
||||
chLabel("out", i), c.name ? h("small", {}, c.name) : null);
|
||||
})))) : h("p", { class: "info" }, t("Connect a DSP to choose.")));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user