Sound Lab tab for REW, handbooks, settings note; VK-Audio only in the start animation and settings
Sound Lab takes filters from REW's API or a filter file onto a channel with a comparison curve, and sends a channel's curve or filters back. Only checked against a fake server built from REW's OpenAPI spec. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
14ca3aec4b
commit
a754021381
10 files changed
+455
-9
No files matched your search
+5
-2
@@ -1359,6 +1359,7 @@ function peqCard(d, kind, idx) {
|
||||
const card = h("div", { class: "card wide" + (ch.peq_bypass ? " eq-off" : "") },
|
||||
h("h3", {}, h("span", { class: "grow" }, t("Parametric EQ")), modeSeg,
|
||||
d.fir ? null : toggleBtn("EQ Bypass", kind, idx, "peq_bypass", "small bypass", v => { card.classList.toggle("eq-off", v); renderBand(); redraw(); }),
|
||||
h("button", { class: "small", "data-view-ok": "", title: t("Open this channel in Sound Lab (REW)"), onclick: () => openLab(kind, idx) }, "REW"),
|
||||
h("button", { class: "small", onclick: async () => {
|
||||
if (!await askConfirm(t("Reset EQ"), t("Set all PEQ bands of this channel to 0 dB and clear bypass?"), t("All flat"))) return;
|
||||
chans(dev(), kind)[idx].peq.forEach((bb, i) => {
|
||||
@@ -2405,6 +2406,8 @@ function viewSettings() {
|
||||
h("section", { class: "setsec", id: "set-" + id },
|
||||
h("header", {}, h("h2", {}, title), h("p", {}, desc)),
|
||||
h("div", { class: "setgrid " + cls }, cards.filter(Boolean)))),
|
||||
h("div", { class: "disclaimer" }, svgIcon('<path d="M12 3l9.5 17h-19zM12 10v4M12 17.5v.01"/>'),
|
||||
h("p", {}, h("b", {}, t("Not from Thomann.")), " ", t("This is an independent project, not connected to Thomann or t.racks, and much of it was written with AI. It comes without any guarantee: you use it at your own risk."))),
|
||||
h("p", { class: "vkfoot" }, "VK-Audio"));
|
||||
}
|
||||
|
||||
@@ -2454,7 +2457,7 @@ function render() {
|
||||
: d.status === "locked" ? h("div", {}, h("p", {}, t("This DSP is locked with a code.")),
|
||||
h("button", { class: "on", onclick: () => unlockDialog(d) }, t("Enter code")))
|
||||
: S.demo.enabled && !d.demo ? t("Disconnected while demo mode is on") : t("Not connected."));
|
||||
else content = ({ mixer: viewMixer, channel: viewChannel, routing: viewRouting, link: viewLink, fir: d.fir ? viewFir : viewMixer, limiter: viewLimiter, test: viewTest }[S.view] || viewMixer)(d);
|
||||
else content = ({ mixer: viewMixer, channel: viewChannel, routing: viewRouting, link: viewLink, fir: d.fir ? viewFir : viewMixer, lab: viewLab, limiter: viewLimiter, test: viewTest }[S.view] || viewMixer)(d);
|
||||
main.replaceChildren(...[content].flat().filter(Boolean));
|
||||
main.querySelectorAll(H_SCROLL).forEach((e, i) => { if (xs[i]) e.scrollLeft = xs[i]; });
|
||||
window.scrollTo(0, y);
|
||||
@@ -2700,7 +2703,7 @@ function showLogin() {
|
||||
["1", "2", "3", "4", "5", "6", "7", "8", "9"].map(k => key(k)), h("span"), key("0"), key("del", "⌫"));
|
||||
root.replaceChildren(h("div", { class: "loginbox" },
|
||||
h("div", { class: "logo" }, $(".brand svg").cloneNode(true)),
|
||||
h("h1", {}, "DSP Control"), h("p", {}, t("Enter PIN")), dots, msg, pad, h("small", { class: "vkfoot" }, "VK-Audio")));
|
||||
h("h1", {}, "DSP Control"), h("p", {}, t("Enter PIN")), dots, msg, pad));
|
||||
root.hidden = false;
|
||||
root.onkeydown = null;
|
||||
document.onkeydown = e => {
|
||||
|
||||
Reference in new issue
Block a user