Sound Lab: not offered on phones
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a754021381
commit
9203cab4df
6 files changed
+11
-8
No files matched your search
+2
-2
@@ -1359,7 +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 rewbtn", "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) => {
|
||||
@@ -2457,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, lab: viewLab, limiter: viewLimiter, test: viewTest }[S.view] || viewMixer)(d);
|
||||
else content = ({ mixer: viewMixer, channel: viewChannel, routing: viewRouting, link: viewLink, fir: d.fir ? viewFir : viewMixer, lab: window.innerWidth < 760 ? viewMixer : 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);
|
||||
|
||||
+2
-2
@@ -10,7 +10,7 @@ const DOC_LAB = () => ({
|
||||
t("Install REW on the computer running this app and connect a measuring microphone."),
|
||||
t("In REW: Preferences → API → start the API, and tick that it starts with REW."),
|
||||
t("Open Sound Lab and press “Check”. The dot turns green and shows the REW version."),
|
||||
], p: t("REW's API only answers on its own computer. On a phone, or with the app on a Raspberry Pi, use the filter file instead.") },
|
||||
], p: t("REW's API only answers on its own computer. With the app on a Raspberry Pi, use the filter file instead.") },
|
||||
{ h: t("Example: correcting a top in a hall"), steps: [
|
||||
t("Export a preset first (File… → Export), so you can go back."),
|
||||
t("Mute everything except the speaker you are measuring and set a low level. Put the microphone at ear height in the audience area."),
|
||||
@@ -29,7 +29,7 @@ const DOC_LAB = () => ({
|
||||
t("In REW's EQ window change the filters and watch the predicted result. Nothing changes on the DSP."),
|
||||
t("If you like it, press “Take filters” in Sound Lab, check and apply."),
|
||||
] },
|
||||
{ h: t("Without a connection (phone, Raspberry Pi)"), steps: [
|
||||
{ h: t("Without a connection (app on a Raspberry Pi)"), steps: [
|
||||
t("In REW's EQ window: File → Export → Filter settings as text."),
|
||||
t("In Sound Lab press “Load REW filter file…”, check and apply."),
|
||||
] },
|
||||
|
||||
+2
-2
@@ -630,7 +630,7 @@ const DE = {
|
||||
"Install REW on the computer running this app and connect a measuring microphone.": "REW auf dem Computer installieren, auf dem diese App läuft, und ein Messmikrofon anschließen.",
|
||||
"In REW: Preferences → API → start the API, and tick that it starts with REW.": "In REW: Preferences → API → die API starten und anhaken, dass sie mit REW startet.",
|
||||
"Open Sound Lab and press “Check”. The dot turns green and shows the REW version.": "Das Sound Lab öffnen und „Prüfen“ drücken. Der Punkt wird grün und zeigt die REW-Version.",
|
||||
"REW's API only answers on its own computer. On a phone, or with the app on a Raspberry Pi, use the filter file instead.": "Die API von REW antwortet nur auf dem eigenen Computer. Am Handy oder mit der App auf einem Raspberry Pi nimmst du stattdessen die Filterdatei.",
|
||||
"REW's API only answers on its own computer. With the app on a Raspberry Pi, use the filter file instead.": "Die API von REW antwortet nur auf dem eigenen Computer. Mit der App auf einem Raspberry Pi nimmst du stattdessen die Filterdatei.",
|
||||
"Example: correcting a top in a hall": "Beispiel: ein Top in einer Halle korrigieren",
|
||||
"Export a preset first (File… → Export), so you can go back.": "Zuerst ein Preset exportieren (Datei… → Export), damit du zurück kannst.",
|
||||
"Mute everything except the speaker you are measuring and set a low level. Put the microphone at ear height in the audience area.": "Alles außer dem gemessenen Lautsprecher stummschalten und einen niedrigen Pegel einstellen. Das Mikrofon auf Ohrhöhe in den Publikumsbereich stellen.",
|
||||
@@ -647,7 +647,7 @@ const DE = {
|
||||
"Choose a measurement and press “Send filters to the chosen measurement”. This replaces the filters of that measurement in REW.": "Eine Messung wählen und „Filter an die gewählte Messung senden“ drücken. Das ersetzt die Filter dieser Messung in REW.",
|
||||
"In REW's EQ window change the filters and watch the predicted result. Nothing changes on the DSP.": "Im EQ-Fenster von REW die Filter ändern und die Vorhersage beobachten. Am DSP ändert sich dabei nichts.",
|
||||
"If you like it, press “Take filters” in Sound Lab, check and apply.": "Wenn es passt, im Sound Lab „Filter holen“ drücken, prüfen und übernehmen.",
|
||||
"Without a connection (phone, Raspberry Pi)": "Ohne Verbindung (Handy, Raspberry Pi)",
|
||||
"Without a connection (app on a Raspberry Pi)": "Ohne Verbindung (App auf einem Raspberry Pi)",
|
||||
"In REW's EQ window: File → Export → Filter settings as text.": "Im EQ-Fenster von REW: File → Export → Filter settings as text.",
|
||||
"In Sound Lab press “Load REW filter file…”, check and apply.": "Im Sound Lab „REW-Filterdatei laden…“ drücken, prüfen und übernehmen.",
|
||||
"SoundField is a top view of the room for planning before you set up: where speakers go, how evenly the room is covered, and which delays they need. It calculates a free field without reflections, so it is a planning aid, not a measurement.": "SoundField ist eine Draufsicht auf den Raum zum Planen vor dem Aufbau: wo die Lautsprecher hinkommen, wie gleichmäßig der Raum abgedeckt ist und welche Delays sie brauchen. Es rechnet im Freifeld ohne Reflexionen, ist also eine Planungshilfe und keine Messung.",
|
||||
|
||||
+2
-1
@@ -2,7 +2,8 @@
|
||||
|
||||
// Sound Lab: working together with REW (Room EQ Wizard). Take filters from a measurement or a filter file, compare them
|
||||
// with the channel before applying, send a channel's EQ back. REW's API only answers on the computer it runs on, so the
|
||||
// server of this app talks to it (see rew_call); a filter file also works from a phone or with the app on a Raspberry Pi.
|
||||
// server of this app talks to it (see rew_call); a filter file also works with the app on a Raspberry Pi.
|
||||
// Not offered on phones (style.css).
|
||||
|
||||
const REW_IN = { PK: 0, PEAK: 0, LS: 1, LSC: 1, LSQ: 1, HS: 2, HSC: 2, HSQ: 2, HP1: 3, HP: 4, HPQ: 4, LP1: 5, LP: 6, LPQ: 6, AP: 8 };
|
||||
const REW_OUT = ["PK", "LS", "HS", "HP1", "HP", "LP1", "LP", "AP", "AP"];
|
||||
|
||||
@@ -939,3 +939,5 @@ canvas.labcurve { display: block; width: 100%; height: 240px; background: var(--
|
||||
.docbody p { margin: 5px 0 0; color: var(--dim); }
|
||||
.docbody ol { margin: 0; padding-left: 20px; }
|
||||
.docbody li { margin: 3px 0; }
|
||||
/* Sound Lab is for the computer next to REW, not for phones */
|
||||
@media (max-width: 759px) { #viewtabs button[data-view=lab], .rewbtn { display: none; } }
|
||||
Reference in new issue
Block a user