From ed3a353334e17b1edcc2ca2a6cd8efc516410de5 Mon Sep 17 00:00:00 2001 From: Eric Dahl Date: Thu, 3 Dec 2026 02:19:19 -0500 Subject: [PATCH] Website: a /virtual-soundcheck guide for an XR18 or MR18 A step-by-step guide for a live-sound engineer: what a virtual soundcheck is, how to do one with an X Air Mixer and SoundcheckPlayer, where the multitrack comes from, a laptop with a DAW compared with a phone, and an FAQ. The words live in lib/virtualSoundcheck.ts, with a source for each fact, and the HowTo and FAQPage structured data are built from the same strings the page shows. The page is in the sitemap, llms.txt and the footer, and its showrecorder.app links carry the virtual-soundcheck campaign. Co-Authored-By: Claude Opus 5.5 --- website/README.md | 6 +- website/app/globals.css | 33 ++++ website/app/sitemap.ts | 11 +- website/app/virtual-soundcheck/page.tsx | 165 +++++++++++++++++++ website/components/SiteFooter.tsx | 3 + website/lib/llms.ts | 1 + website/lib/site.ts | 6 +- website/lib/virtualSoundcheck.ts | 195 +++++++++++++++++++++++ website/tests/site.test.ts | 3 +- website/tests/virtualSoundcheck.test.tsx | 129 +++++++++++++++ 10 files changed, 544 insertions(+), 8 deletions(-) create mode 100644 website/app/virtual-soundcheck/page.tsx create mode 100644 website/lib/virtualSoundcheck.ts create mode 100644 website/tests/virtualSoundcheck.test.tsx diff --git a/website/README.md b/website/README.md index 3d44964..64bbf74 100644 --- a/website/README.md +++ b/website/README.md @@ -2,7 +2,7 @@ The site for SoundcheckPlayer: a static Next.js site (App Router, TypeScript, Tailwind CSS 4) exported to plain HTML and served by nginx. It is set up the same way as showrecorder.app (ShowRecorder's `website/`), trimmed to the -landing page, `/privacy` and `/support`. It lives in this repo beside the app, but it is its own project, and nothing in the Xcode project reads it. +landing page, `/privacy`, `/support` and the `/virtual-soundcheck` guide. It lives in this repo beside the app, but it is its own project, and nothing in the Xcode project reads it. ## Requirements @@ -48,6 +48,9 @@ changes. and a Mac are called tested (not the iPad), that the contact comes from `SUPPORT_CONTACT_URL`, and that there is no FAQ structured data in the page. - `tests/layout.test.tsx` checks that the width, header, type scale and hero order are showrecorder.app's (#100), so the two sites' headers and titles line up. +- `tests/virtualSoundcheck.test.tsx` renders `/virtual-soundcheck` and checks that its HowTo and FAQPage structured + data say exactly what the page says, the trademark note, the tagged showrecorder.app links, the canonical address and + that "virtual soundcheck" is always lowercase. - `tests/analytics.test.ts` checks the PostHog setup, the `?internal=1` opt-out and the Content-Security-Policy. - `tests/structuredData.test.tsx` checks the SoftwareApplication data restates the page and states no price, offer, rating, review or download link. @@ -59,6 +62,7 @@ changes. | The landing page | `app/page.tsx` | | `/privacy`: the app, then this website. The words shared with the home page, and the effective date | `app/privacy/page.tsx`, `lib/privacy.ts` | | `/support`: the FAQ and the contact | `app/support/page.tsx`, `lib/faq.ts` | +| `/virtual-soundcheck`: the steps, the comparison, the FAQ and their structured data, with a source for each fact | `app/virtual-soundcheck/page.tsx`, `lib/virtualSoundcheck.ts` | | The support contact, one constant (`SUPPORT_CONTACT_URL`) | `lib/site.ts` | | Header and footer on every page | `components/SiteHeader.tsx`, `components/SiteFooter.tsx` | | A page's title, description and canonical address | `lib/pageMetadata.ts` | diff --git a/website/app/globals.css b/website/app/globals.css index 5112f30..1d5c19e 100644 --- a/website/app/globals.css +++ b/website/app/globals.css @@ -545,3 +545,36 @@ section { .doc-note { font-size: 0.95rem; } + +/* /virtual-soundcheck: the steps and the comparison table. */ +.steps { + padding-left: 1.4em; +} + +.table-scroll { + overflow-x: auto; +} + +.compare { + width: 100%; + border-collapse: collapse; + font-size: 0.95rem; +} + +.compare caption { + text-align: left; + color: var(--muted); + padding-bottom: 8px; +} + +.compare th, +.compare td { + text-align: left; + vertical-align: top; + padding: 10px 12px 10px 0; + border-bottom: 1px solid var(--hairline); +} + +.compare td { + color: var(--muted); +} diff --git a/website/app/sitemap.ts b/website/app/sitemap.ts index 07a3368..1b95634 100644 --- a/website/app/sitemap.ts +++ b/website/app/sitemap.ts @@ -4,7 +4,12 @@ import { SITE_URL } from "@/lib/site"; export const dynamic = "force-static"; export default function sitemap(): MetadataRoute.Sitemap { - // Every page of the site. /privacy and /support have no trailing slash: nginx serves privacy.html and support.html - // at those addresses. - return [{ url: `${SITE_URL}/` }, { url: `${SITE_URL}/privacy` }, { url: `${SITE_URL}/support` }]; + // Every page of the site. The pages other than the home page have no trailing slash: nginx serves privacy.html, + // support.html and virtual-soundcheck.html at those addresses. + return [ + { url: `${SITE_URL}/` }, + { url: `${SITE_URL}/privacy` }, + { url: `${SITE_URL}/support` }, + { url: `${SITE_URL}/virtual-soundcheck` }, + ]; } diff --git a/website/app/virtual-soundcheck/page.tsx b/website/app/virtual-soundcheck/page.tsx new file mode 100644 index 0000000..8ce75c0 --- /dev/null +++ b/website/app/virtual-soundcheck/page.tsx @@ -0,0 +1,165 @@ +import type { Metadata } from "next"; +import { metadata as siteMetadata } from "@/app/layout"; +import { SiteFooter } from "@/components/SiteFooter"; +import { SiteHeader } from "@/components/SiteHeader"; +import { pageMetadata } from "@/lib/pageMetadata"; +import { SITE_NAME, showRecorderLink } from "@/lib/site"; +import { jsonLdText } from "@/lib/structuredData"; +import { + COMPARISON, + FORMATS, + HOWTO_TITLE, + OTHER_MIXERS, + PAGE_PATH, + PAGE_TITLE, + STEPS, + type QuestionEntry, + faqJsonLd, + howToJsonLd, + virtualSoundcheckFaq, +} from "@/lib/virtualSoundcheck"; + +// /virtual-soundcheck: how to play a show's Stems back into the Mixer, for a live-sound engineer. The words are in +// lib/virtualSoundcheck.ts, with a source for each fact; the HowTo and FAQPage data are built from the same strings. + +export const metadata: Metadata = pageMetadata(siteMetadata, { + name: PAGE_TITLE, + description: + "Play a show's multitrack back into the same Mixer, each Stem on its own channel, and mix without the band. Step by step with an XR18 or MR18.", + path: PAGE_PATH, +}); + +// An answer, with its link (if any) around the words it names. The text stays exactly the answer string. +function Answer({ entry }: { entry: QuestionEntry }) { + if (!entry.link) return

{entry.answer}

; + const at = entry.answer.indexOf(entry.link.text); + if (at < 0) return

{entry.answer}

; + return ( +

+ {entry.answer.slice(0, at)} + {entry.link.text} + {entry.answer.slice(at + entry.link.text.length)} +

+ ); +} + +export default function VirtualSoundcheckPage() { + const faq = virtualSoundcheckFaq(); + return ( + <> + +
+