Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 35 additions & 1 deletion website/app/guides/record/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@ import { AskUs, Breadcrumbs, GetTheApp, LastChecked } from "@/components/GuidePa
import { MixerFaq } from "@/components/MixerFaq";
import { PAGES, pageMetadata } from "@/lib/metadata";
import { InlineMarkdown } from "@/components/InlineMarkdown";
import { GLOSSARY, HUB_COPY, HUB_FAQS, MIXER_GUIDES, MIXER_ROWS, pickMixerLink } from "@/lib/mixerGuides";
import {
GLOSSARY,
HUB_COPY,
HUB_FAQS,
MIXER_GUIDES,
MIXER_ROWS,
VIRTUAL_SOUNDCHECK_COPY,
VIRTUAL_SOUNDCHECK_ID,
pickMixerLink,
} from "@/lib/mixerGuides";
import { soundcheckPlayerLink } from "@/lib/site";
import { breadcrumbListJsonLd, faqPageJsonLd, jsonLdScript } from "@/lib/structuredData";

export const metadata = pageMetadata(PAGES.guidesHub);
Expand Down Expand Up @@ -142,6 +152,30 @@ export default function GuidesHubPage() {
<GetTheApp campaign="site-guides" />
</section>

<section aria-labelledby={VIRTUAL_SOUNDCHECK_ID} className="feature-group doc">
<div className="section-head">
<h2 id={VIRTUAL_SOUNDCHECK_ID}>{VIRTUAL_SOUNDCHECK_COPY.title}</h2>
</div>
<p>
<InlineMarkdown text={VIRTUAL_SOUNDCHECK_COPY.intro} />
</p>
<ul>
{VIRTUAL_SOUNDCHECK_COPY.steps.map((s) => (
<li key={s}>
<InlineMarkdown text={s} />
</li>
))}
</ul>
<p>
<InlineMarkdown text={VIRTUAL_SOUNDCHECK_COPY.playback} />
</p>
<p>{VIRTUAL_SOUNDCHECK_COPY.player}</p>
{/* The link in a paragraph of its own, tagged so PostHog shows the visits this section sent. */}
<p>
<a href={soundcheckPlayerLink("guides-virtual-soundcheck")}>{VIRTUAL_SOUNDCHECK_COPY.playerLink}</a>
</p>
</section>

<section aria-labelledby="glossary" className="feature-group doc">
<div className="section-head">
<h2 id="glossary">{HUB_COPY.glossaryTitle}</h2>
Expand Down
2 changes: 2 additions & 0 deletions website/app/guides/record/x32/content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ When a channel's source is the card:
- its gain knob becomes a digital trim of plus or minus 12 dB
- phantom power and preamp gain move to **Setup > Preamps**

What to record for one, and an app that plays it back, are in [Record the multitrack for a virtual soundcheck](/guides/record#virtual-soundcheck).

## X32 tap points

The tap point is where in the channel the recording is taken: the raw input, or later, after the EQ or the fader. Which one to pick, and why, is in [Pre or post fader](/guides/record/pre-or-post-fader). On the X32:
Expand Down
2 changes: 2 additions & 0 deletions website/app/guides/record/xr18/content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ Good to know:
- A channel uses only one source at a time.
- The monitor source is the main LR (post fader) out of the box. You can also pick a bus, an aux or USB 17/18.

What to record for one, and an app that plays it back, are in [Record the multitrack for a virtual soundcheck](/guides/record#virtual-soundcheck).

## XR18 tap points

The tap point is where in the channel the recording is taken: the raw input, or later, after the EQ or the fader. Which one to pick, and why, is in [Pre or post fader](/guides/record/pre-or-post-fader). On the XR18:
Expand Down
20 changes: 20 additions & 0 deletions website/lib/mixerGuides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,26 @@ export const HUB_COPY = {
glossaryTitle: "Glossary",
} as const;

// The hub's section on recording the multitrack for a virtual soundcheck (#virtual-soundcheck). The XR18 and X32
// guides' playback sections link here. "Virtual soundcheck" describes the job; it is never an app's name. What it says
// of ShowRecorder is what `fits` above and lib/guide.ts say; what it says of SoundcheckPlayer is what soundcheckplayer.app
// says. The link to that site is added by the page (lib/site.ts imports this file, so it can't be built here).
export const VIRTUAL_SOUNDCHECK_ID = "virtual-soundcheck";
export const VIRTUAL_SOUNDCHECK_COPY = {
title: "Record the multitrack for a virtual soundcheck",
intro:
"A virtual soundcheck plays a recorded show back through the mixer's channels over USB, so you can set the mix with no band on stage. It starts with the recording: one track per channel, from a show or a rehearsal.",
steps: [
"**Record every channel to its own track.** Any of the three ways above does it. ShowRecorder does it on an iPhone or iPad: every USB Channel to its own WAV file.",
`**Record the raw input.** The playback comes back in at the same point, so the channel's trim, EQ and dynamics work on it as they did on the live input. [Pre or post fader](${TAP_POINT_GUIDE}) explains each tap point.`,
"**Mark the songs.** In ShowRecorder, tap the flag at each song to drop a Marker, so you can find the song again.",
],
playback: `To play it back, the mixer's channels take the USB returns in place of the stage inputs. The guides show where: [XR18 playback](${GUIDES_HUB}/xr18#xr18-playback-for-virtual-soundcheck) and [X32 playback](${GUIDES_HUB}/x32#x32-playback-for-virtual-soundcheck), or pick your mixer above.`,
player:
"SoundcheckPlayer, from the maker of ShowRecorder, plays the tracks back from an iPhone, iPad or Mac, each one on its own channel. It opens a ShowRecorder Take with its Markers. On an XR18 or MR18 it switches the channels to USB, and puts them back when you're done. It is in testing now.",
playerLink: "SoundcheckPlayer, the virtual soundcheck app",
} as const;

// The line under a guide in "Pick your mixer" when ShowRecorder has Mixer Link for it, linking to its ShowRecorder page.
export function pickMixerLink(productPage: string): string {
return `Mixer Link: ShowRecorder takes the channel names and colors from this mixer ([how it works](${productPage})).`;
Expand Down
5 changes: 4 additions & 1 deletion website/lib/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export const ISSUES_URL = `${REPO_URL}/issues`;
export const FACEBOOK_URL = "https://www.facebook.com/profile.php?id=61596288844683";
// The sister site: SoundcheckPlayer plays a Take back into the mixer. Tagged like every link we write, so PostHog
// (Owned Sites, $host soundcheckplayer.app) shows the visits this site sent. One campaign per placement.
export const SOUNDCHECKPLAYER_URL = "https://soundcheckplayer.app/?utm_source=showrecorder&utm_campaign=footer";
export function soundcheckPlayerLink(campaign: string): string {
return `https://soundcheckplayer.app/?utm_source=showrecorder&utm_campaign=${campaign}`;
}
export const SOUNDCHECKPLAYER_URL = soundcheckPlayerLink("footer");

// Pro's price. It is set in lib/price.ts (lib/docs.ts needs it, and this file imports lib/docs.ts) and read from here.
export { PRO_PRICE, PRO_PRICE_TEXT } from "@/lib/price";
Expand Down
3 changes: 2 additions & 1 deletion website/tests/soundcheckPlayerLink.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ describe("the link to soundcheckplayer.app", () => {
it("is never written as a bare, untagged address anywhere on the site", () => {
for (const file of ["app", "components", "lib"].flatMap((d) => sources(path.join(ROOT, d)))) {
for (const [url] of readFileSync(file, "utf8").matchAll(/https:\/\/soundcheckplayer\.app[^\s"'`)<]*/g)) {
expect(url, file).toMatch(/\?utm_source=showrecorder&utm_campaign=[a-z0-9-]+$/);
// A fixed campaign, or the one place that builds the link: soundcheckPlayerLink(campaign) in lib/site.ts.
expect(url, file).toMatch(/\?utm_source=showrecorder&utm_campaign=([a-z0-9-]+|\$\{campaign\})$/);
}
}
});
Expand Down
74 changes: 74 additions & 0 deletions website/tests/virtualSoundcheckSection.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import { readFileSync } from "node:fs";
import path from "node:path";
import { createElement } from "react";
import { renderToStaticMarkup } from "react-dom/server";
import GuidesHubPage from "@/app/guides/record/page";
import { TAP_POINT_GUIDE } from "@/lib/mixerGuides";
import { SOUNDCHECKPLAYER_URL, soundcheckPlayerLink } from "@/lib/site";

// "Virtual soundcheck" is what people search for (Eric, 2026-12-03). The guides hub has a section on recording the
// multitrack for one, which links to SoundcheckPlayer, the app that plays it back. The XR18 and X32 guides' playback
// sections link to it, so the facts live in one place.

const ROOT = path.resolve(__dirname, "..");
const read = (...p: string[]) => readFileSync(path.join(ROOT, ...p), "utf8");
const hub = renderToStaticMarkup(createElement(GuidesHubPage));
const section = hub.match(/<section aria-labelledby="virtual-soundcheck"[\s\S]*?<\/section>/)?.[0] ?? "";
const text = section.replace(/<[^>]+>/g, " ").replace(/&#x27;/g, "'").replace(/\s+/g, " ");

describe("the hub's section on recording for a virtual soundcheck", () => {
it("has its own heading, which other pages can link to", () => {
expect(section).toMatch(/<h2 id="virtual-soundcheck">Record the multitrack for a virtual soundcheck<\/h2>/);
});

it("says what a virtual soundcheck is and what to record for one", () => {
expect(text).toMatch(/plays a recorded show back through the mixer's channels/);
expect(text).toMatch(/no band on stage/);
expect(text).toMatch(/every channel to its own track/i);
expect(text).toMatch(/raw input/);
expect(text).toMatch(/Marker/);
expect(section).toContain(`href="${TAP_POINT_GUIDE}"`);
});

it("claims of ShowRecorder only what the hub already says: every USB Channel to its own WAV, on iPhone or iPad", () => {
expect(text).toMatch(/every USB Channel to its own WAV file/);
expect(text).toMatch(/iPhone or iPad/);
expect(text).not.toMatch(/\$\d|free trial|best|only app/i);
});

it("links to the playback sections of the XR18 and X32 guides, not a copy of them", () => {
expect(section).toContain('href="/guides/record/xr18#xr18-playback-for-virtual-soundcheck"');
expect(section).toContain('href="/guides/record/x32#x32-playback-for-virtual-soundcheck"');
expect(read("app", "guides", "record", "xr18", "content.mdx")).toMatch(/^## XR18 playback for virtual soundcheck$/m);
expect(read("app", "guides", "record", "x32", "content.mdx")).toMatch(/^## X32 playback for virtual soundcheck$/m);
});

it("links to SoundcheckPlayer with a tagged link, in a paragraph of its own", () => {
const link = soundcheckPlayerLink("guides-virtual-soundcheck");
expect(link).toBe("https://soundcheckplayer.app/?utm_source=showrecorder&utm_campaign=guides-virtual-soundcheck");
expect(section).toMatch(new RegExp(`<p><a href="${link.replace(/[.?]/g, "\\$&").replace(/&/g, "&amp;")}">[^<]+</a></p>`));
expect(SOUNDCHECKPLAYER_URL).toBe(soundcheckPlayerLink("footer"));
});

it("says of SoundcheckPlayer only what its own page says, and that it is in testing", () => {
expect(text).toMatch(/each one on its own channel/);
expect(text).toMatch(/XR18 or MR18/);
expect(text).toMatch(/in testing/);
expect(text).not.toMatch(/App Store/);
});

it("uses virtual soundcheck as a description, never as an app's name, and names no trademark owner", () => {
expect(section).not.toMatch(/Virtual Soundcheck/);
expect(text).not.toMatch(/Yamaha/);
});
});

describe("the XR18 and X32 guides", () => {
it("link from their playback sections to the hub's section", () => {
for (const slug of ["xr18", "x32"]) {
const mdx = read("app", "guides", "record", slug, "content.mdx");
const playback = mdx.match(/^## \w+ playback for virtual soundcheck$[\s\S]*?(?=^## )/m)?.[0] ?? "";
expect(playback, slug).toContain("(/guides/record#virtual-soundcheck)");
}
});
});
Loading