Skip to content

refactor: rename two-stem complement output to backing across CLI, WASM, and web app - #61

Merged
hi-ogawa merged 2 commits into
mainfrom
copilot/rename-two-stem-complement-output
Jul 14, 2026
Merged

refactor: rename two-stem complement output to backing across CLI, WASM, and web app#61
hi-ogawa merged 2 commits into
mainfrom
copilot/rename-two-stem-complement-output

Conversation

Copilot AI commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Two-stem mode currently emits the complementary track as no_<source>, which is awkward in user-facing workflows and downstream handoff. This change standardizes the complement stem/output filename to backing while preserving the existing add/minus construction behavior.

  • Output contract

    • Native CLI two-stem output now writes:
      • <source>.wav
      • backing.wav
    • WASM/Node CLI and browser separation path now use internal stem name backing instead of no_<source>.
  • Web app UX alignment

    • Two-stem summary text now reflects backing.wav.
    • Result card label keeps context without changing the stem key:
      • Backing track (without <source>)
    • Downloaded file naming remains stem-key based (backing.wav).
  • Docs and CI expectation updates

    • README two-stem example updated from no_bass.wav to backing.wav.
    • CI check for native two-stem artifact now expects backing.wav.
    • Related test expectation updated to match the new output naming.
// two-stem naming (WASM/Node and app paths)
const names = args.twoStems
  ? [args.twoStems, "backing"]
  : SOURCES;

Copilot AI linked an issue Jul 14, 2026 that may be closed by this pull request
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 14, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
demucs-onnx 5c3f6f1 Commit Preview URL

Branch Preview URL
Jul 14 2026, 12:37 PM

Copilot AI changed the title [WIP] Rename two-stem complement output to backing Rename two-stem complement output to backing across CLI, WASM, and web app Jul 14, 2026
Copilot AI requested a review from hi-ogawa July 14, 2026 12:38
@hi-ogawa hi-ogawa changed the title Rename two-stem complement output to backing across CLI, WASM, and web app refactor: rename two-stem complement output to backing across CLI, WASM, and web app Jul 14, 2026
@hi-ogawa
hi-ogawa marked this pull request as ready for review July 14, 2026 14:12
@hi-ogawa
hi-ogawa merged commit f908966 into main Jul 14, 2026
2 checks passed
@hi-ogawa
hi-ogawa deleted the copilot/rename-two-stem-complement-output branch July 14, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename two-stem complement output to backing

2 participants