The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Research: DBS soundtrack separation (dialogue, music, effects) on both engines
Claude1d6bc2018791
diff --git a/docs/research/README.md b/docs/research/README.mdindex 563c217e..34862981 100644--- a/docs/research/README.md+++ b/docs/research/README.md@@ -22,6 +22,7 @@ Everything Fuobe's catalog is built from. JSON files are machine-readable and fe| [`higgsfield-originals-5.md`](higgsfield-originals-5.md) / [`.json`](higgsfield-originals-5.json) | What each of Higgsfield's 22 in-house products is built on, with 101 evidence items rated confirmed, likely, speculative or unknown (help center, blog, changelog, the production web client, public cost endpoints, price fingerprints). The answer is partly yes: some are open models with public LoRAs under a Higgsfield name (Angles, Animate / Recast, Infinite Talk, Depth Map, Remove Background), some are partner models with Higgsfield's prompts and UI (Cinema Studio 4.0 on Seedance 2.5, Shorts on Gemini Omni Flash, Marketing Studio Image and Ads Studio on GPT Image 2.5), and Soul, Soul ID and DoP are self-hosted bases with LoRA presets. Also the rule from Higgsfield's Terms of Use: Fuobe never trains on Higgsfield outputs or preview media | Planning research for the Fuobe Originals series (see [STATUS](../STATUS.md), "What's next"); since round 4 part 4 Soul ID's photo rules and consent line follow its §3.4 (`src/lib/catalog/training.ts`) || [`fuobe-originals-recipes-5.md`](fuobe-originals-recipes-5.md) / [`.json`](fuobe-originals-recipes-5.json) | Open-weight recipes to rebuild each of those products as a Fuobe Original, on ComfyUI and on hosted open models: 46 hosted LoRA endpoints (38 fal, 8 Replicate; round 4 part 4 adds MiniMax H3's reference-to-video LoRA endpoint) with fields, limits and prices (21 now with their full input schemas, among them Z-Image Turbo's image-to-image LoRA endpoint, the Qwen-Image-Edit 2509 LoRA endpoint that relights a start frame and the five hosted LoRA models Soul ID's trained LoRAs run on, plus 13 plain endpoints: LTX-2.3 22B, FLUX.2 [klein] 4B and, since round 4 part 4, Genjutsu's hosted models (Wan 2.2 Animate move and replace, SCAIL-2, Wan Motion, Wan VACE 14B inpainting, Wan 2.2 VACE Fun depth, MiniMax H3 Max Recast), read by `scripts/fetch-hosted-schemas.py`), trainers (since round 4 part 4 with the response field each fal trainer returns its LoRA in), the licence rule it was written with (Apache/MIT bases or LTX-2.x only; a note dated 2026-10-27 makes licences information, not gates, and lets Soul ID train on every image base with a hosted LoRA model), every LoRA it uses (not the rejected ones) pinned to exact bytes (SHA-256 and size, plus the commit for Hugging Face files, read by `scripts/fetch-lora-pins.py`), Fuobe Soul (Z-Image Turbo with three LoRA slots; since round 4 part 3 the looks' grades and overlays and Soul Cinema's settings are data in the JSON), all 139 Soul presets mapped (16 should get a Fuobe-trained LoRA), motions and effects (the BTS motion LoRA is on licence hold; since round 4 part 3 the rows also give each move's Fun Camera pose, LTX-2.3 camera LoRA, LTX-2.5 move or alias, a new row covers Dolly Out and Static, and Bullet Time uses Remade's matrix-shot LoRA because round 1's states no licence), studio recipes (Genjutsu, Mixed Media, Cinema Studio, Upscale, Speak and others; since round 4 part 4 Fuobe Cinema's recipe for O6, and the open weights under each Genjutsu model), what replaces each Higgsfield model when the provider is removed, and a 14-package build plan (O0 to O13). Nothing was run on a GPU or a paid API, and the evaluation harness hasn't written any results to it yet, so none of it is a quality result | `scripts/gen-lora-library.py` → `src/lib/catalog/lora-library.generated.ts` (Settings → LoRAs and the pinned downloads in `src/server/loras.ts`; since round 4 part 3 Fuobe Soul's looks name its LoRAs, and a motion's or effect's LoRA that is a library file takes its pins and licence from it), `scripts/gen-soul-originals.py` → `src/lib/catalog/soul-originals.generated.ts` and `soul-looks.generated.ts` (round 4 part 3: Fuobe Soul's 139 looks with their LoRAs, grades and overlays, and Soul Cinema's recipe; since round 4 part 4 it prints licence notes, and stops only on broken data or the three-LoRA limit), `scripts/gen-oss-loras.py` → `src/lib/catalog/oss-loras.generated.ts` (round 4 part 3: the motion and effect rows become the preset → LoRA map v2 and `DOP_RECIPES`, which Fuobe DoP's routes come from in `src/lib/catalog/dop.ts`), `scripts/gen-cloud-models.py` (`hostedLoraEndpoints` and `hostedBaseEndpoints`: the LoRA fields and schemas of seven hosted open models: Z-Image Turbo and the six added in round 4's second part, which with Seedream 5.0 Flash grew the generated catalog from 191 to 198; since round 4 part 3 also `ORIGINAL_CLOUD`, the cloud halves of the five Originals, from Soul's settings and the DoP rows, and two hidden helpers, LTX 2.5 Fast for Focus Change and the hosted Qwen-Image-Edit 2509 for the relight step, which grew it to 200; since round 4 part 4 `ORIGINAL_CLOUD` has 12 entries, adding Fuobe Cinema from `studios[cinema-studio].original`, the five Fuobe Genjutsu Originals and Fuobe Character swap, and the generated catalog grew to 209 with the five hosted LoRA models Soul ID's bases run on and four Genjutsu alternatives: Wan 2.2 Animate Replace, SCAIL-2, Wan Motion and MiniMax H3 Max Recast), `scripts/gen-trainers.py` → `src/lib/catalog/trainers.generated.ts` (round 4 part 4: each fal trainer's fields, price per step, LoRA output field and licence, for Soul ID's targets in `src/lib/catalog/training.ts`, which also takes its AI-Toolkit configs from §3.3 and §4.5), Fuobe Cinema (`src/lib/catalog/cinema.ts`, `tests/cinema.test.ts`) and the Genjutsu Originals (`src/lib/catalog/genjutsu.ts`, §8 genjutsu) since round 4 part 4, the evaluation harness (`scripts/eval/lib/recipes.mjs`, `scripts/eval/gen-cases.mjs`: the Soul and DoP recipes and cases, since round 4 part 3 also Soul Cinema's recipe and the Mix pairs; `pnpm eval:promote --record` can write verdicts back), `tests/lora-library.test.ts`, `tests/cloud-catalog.test.ts`, `tests/eval-harness.test.ts`, and since round 4 part 3 `tests/soul-originals.test.ts`, `tests/oss-loras.test.ts` and `tests/dop-originals.test.ts`. It records a decision to stop calling Higgsfield. Fuobe Soul, DoP, Cinema and Genjutsu and Soul ID training make no Higgsfield call and Moodboards no longer read Higgsfield's presets, but the Higgsfield provider is still in the code and still used (Higgsfield's own models, Ads Studio, Marketing Studio's image model, the Ad Multiplier's Seedance 2.5 edit, the AI Influencer app in the cloud and the Character Sheet's Soul Cast with a Higgsfield key, and a Higgsfield route on Kling 2.5 Turbo, where DoP's words-only moves run in the cloud); the evaluation harness skips jobs that would go through it || [`openjutsu-6.md`](openjutsu-6.md) / [`.json`](openjutsu-6.json) | Comfy Org's Openjutsu and Akatz Labs' H3 Character Swap tool (2026-10-27): Openjutsu's flow, limits, prompt and error cases; its 32-node `swap.api.json` node by node (22 core ComfyUI 0.41 classes checked on the live server, 10 from the GPL-3.0 `h3_character_swap` pack) with the bindings and defaults Fuobe needs; every mode of Akatz's app (shots, transcription, anchors, who-to-swap, masks, segments with continuation, takes, the unreleased Finish stage), all node classes (incl. the ones the pack leaves unregistered, H3 Relay 2.0's 69 and the H3 Relay / H3 Performance origins), its workflows (incl. H3 Person Removal) and what Openjutsu's patch changes (integer resolutions, PyAV instead of ffprobe); the model files with bytes, SHA-256, pinned revisions and licences (46.33 GB; INT8 and NVFP4 GPU notes); licences as written, for Settings → Models & licences (MiniMax H3 Community: US/EU/UK/South Korea excluded, US$20M condition, "MiniMax H3" display); hosted routes (fal `minimax/h3/reference-to-video/lora`, which loads the swap LoRA, `minimax/h3-max/recast`, Replicate, MiniMax API, Comfy Router) with fields and prices; the Comfy Developer Platform (deployment prices, `@comfyorg/sdk` 0.5.0, v2 API only); the anchor step and Fuobe equivalents; a Character swap plan for `/genjutsu` on both engines, with tests. Nothing ran on a GPU or a paid API | Genjutsu's Character swap, built from its plan (package O5b) in round 4 part 4: `src/lib/catalog/character-swap.ts` (limits, canvas sizes, windows, prompts, the first-frame step, licences and the swap LoRAs), `src/lib/catalog/genjutsu.ts` and `src/lib/catalog/models.ts` (Fuobe Character swap, H3 Character Swap · Relay 2.0, H3 Person Removal · Relay 2.0); Remove object's H3 Person Removal (`src/lib/catalog/remove-object.ts`); the MiniMax H3 licence and the two GPL-3.0 node packs in Settings → Models & licences (`src/lib/licences.ts`); the fal H3 records `scripts/fetch-hosted-schemas.py` adds to `fuobe-originals-recipes-5.json` and `scripts/gen-cloud-models.py` turns into routes (`src/lib/catalog/cloud-models.generated.ts`); the three H3 workflows and their pinned weights (`scripts/comfy/library.spec.mjs`, `workflows/comfyui/manifest.json`, `scripts/comfy/README.md`); the pack pins in `scripts/comfy/install-comfyui.sh`; `tests/character-swap.test.ts`, `tests/comfy-character-swap.test.ts`, `tests/person-remove-h3.test.ts`. Its Comfy API v2 client for Comfy Developer Platform deployments isn't built |+| [`dbs-separation-7.md`](dbs-separation-7.md) / [`.json`](dbs-separation-7.json) | DBS soundtrack separation (2026-10-29): splitting any soundtrack into dialogue, music and effects with the Dynamic Band Splitting models (DBS-TIGER-DnR, 1.0M parameters, and DBS-BSRNN-DnR, 4.7M; Apache-2.0; 23 MB; CPU or GPU): how they work, quality (SI-SDR on DnR v2) and measured speed, the model files with bytes, SHA-256 and pinned revisions, licences as information; the ComfyUI-DBS pack (MIT, pinned at `f656e53`, two nodes, its only Registry version flagged) node by node, and the three graphs Fuobe would build with core nodes (videos keep a stream-copied picture); running it outside ComfyUI (Python sidecar, ONNX, the browser); hosted routes with prices (no hosted DBS: fal SAM Audio in two passes, Demucs, ElevenLabs isolation, VEED and DeepFilterNet cleaners, Replicate, AudioShake); what Fuobe has today; placements on both engines and a 10-package build plan (D1 to D10). Nothing was installed or run, and no paid API was called | Not yet; see the build plan (§9) || [`ux-audit-4.md`](ux-audit-4.md) | UX and speed audit of Fuobe at `d781de1` (round 3), measured against Liner's design language and Higgsfield's flows: cold loads, route changes and interactions at 1440 px and 390 px (CPU slowed 4x), JavaScript per route, axe accessibility results, layout shift, what already works, and ranked findings (P0 to P3), each with its route, component, evidence and fix; no code changed | Round 4's onboarding, shell and flow work: Save & test and the Get started card (`src/components/settings-form.tsx`, `src/components/get-started.tsx`, `src/lib/connections.ts`, `tests/connections.test.ts`), the Assist offline planner (`src/server/assist/agent.ts`, `tests/assist-suggestions.test.ts`), Home's Start (`src/components/home-view.tsx`), the skip link, landmarks and ⌘K palette (`src/components/app-sidebar.tsx`, `src/components/command-palette.tsx`) || [`liner-ui.md`](liner-ui.md) | Liner's (liner.com — liner.app itself is a parked domain) design language: tokens, layout, composer, microcopy; the Fuobe theme derived from it | `src/app/globals.css`, `src/components/studio/` |diff --git a/docs/research/dbs-separation-7.json b/docs/research/dbs-separation-7.jsonnew file mode 100644index 00000000..9c926b15--- /dev/null+++ b/docs/research/dbs-separation-7.json@@ -0,0 +1,1664 @@+{+ "asOf": "2026-10-29",+ "scope": "DBS (Dynamic Band Splitting) soundtrack separation into music, sound effects and speech: the two released models (JusperLee/DBS-TIGER-DnR, JusperLee/DBS-BSRNN-DnR), the ComfyUI pack hiroki-abe-58/ComfyUI-DBS, running it outside ComfyUI, hosted routes, what Fuobe has today, where DBS goes in Fuobe on both engines, and a build plan. Licences are information (owner's decision). Read-only: no code from these repositories was run or installed, nothing was installed into Fuobe's ComfyUI, and no paid API was called.",+ "doc": "docs/research/dbs-separation-7.md",+ "fuobe": {+ "branch": "claude/fuobe-parity-4",+ "commit": "7d7a765be3ae154610473172680250417b440264"+ },+ "dbs": {+ "paper": {+ "title": "Learning Where to Split: Dynamic Band Splitting for Audio Source Separation",+ "authors": [+ "Bingzhe Zhang",+ "Kai Li",+ "Xiaolin Hu"+ ],+ "affiliation": "Tsinghua University",+ "arxiv": "2610.14993",+ "url": "https://arxiv.org/abs/2610.14993",+ "submitted": "2026-10-10",+ "pages": 25,+ "licence": "arXiv non-exclusive distribution licence 1.0"+ },+ "code": {+ "repo": "https://github.com/JusperLee/Dynamic-Band-Splitting",+ "commit": "ff526463a58ee0278e7bd05c4b8bce112b743e34",+ "commitDate": "2026-10-15",+ "licence": "Apache-2.0 (THIRD_PARTY.md: MIT notices for BS-RoFormer, Music-Source-Separation-Training, TIGER/Look2Hear)",+ "python": ">=3.11"+ },+ "projectPage": "https://cslikai.cn/Dynamic-Band-Splitting/",+ "demoSpace": "https://huggingface.co/spaces/JusperLee/DBS-Demo",+ "method": [+ "content-conditioned scorer rates every STFT bin inside 4 coarse regions",+ "hard Top-K picks a fixed number of boundaries (128 band tokens)",+ "content-weighted pooling makes one token per band",+ "unchanged backbone (BSRNN, TIGER, BS-RoFormer or Mel-RoFormer) separates the tokens",+ "tokens smoothed, expanded to the STFT grid, refined along frequency, decoded to complex masks by a frequency-shared head",+ "DBS-MelRoFormer uses a soft router instead"+ ],+ "io": {+ "sampleRate": 44100,+ "channels": "mono",+ "stems": [+ "music",+ "sfx",+ "speech"+ ],+ "stemOrderSource": "model cards; dbs_comfy/runtime.py L29",+ "mixtureConsistency": "masks sum to 1+0j (dbs/modules/dbs.py L326-329): music + sfx + speech = input; max measured difference 5e-7 (VERIFICATION.md L56-57)",+ "length": "any; equal-weight overlap-add (dbs/engine/inference.py L29-53); clips <= half a window padded to one window, clips between half a window and one window run unpadded (L32-36)",+ "windows": {+ "DBS-TIGER-DnR": {+ "chunkSeconds": 6.0,+ "hopSeconds": 3.0+ },+ "DBS-BSRNN-DnR": {+ "chunkSeconds": 3.0,+ "hopSeconds": 1.5+ }+ },+ "auxOutput": "model(mixture, return_aux=True) also returns the band boundaries (tiger.py L682-689); not exposed by the pack"+ },+ "stereoModes": {+ "mono": "separates the channel mean (official usage); stems come out mono; 5.1 mean includes LFE and surrounds",+ "each channel": "separates every channel; time x channel count",+ "fastStereoBed": "proposal (guess until heard): separate the mono mean, AudioMerge(original, speech, subtract) broadcasts the mono speech over each channel and keeps the original stereo image (comfy_extras/nodes_audio.py L708-741); exact for centre-panned dialogue; AudioMerge divides the result by its peak when over 1.0 (L747-749)"+ },+ "quality": {+ "dataset": "DnR v2 test set, 973 full-length tracks, SI-SDR dB",+ "models": [+ {+ "model": "DBS-TIGER (128 bands)",+ "music": 7.78,+ "speech": 15.9,+ "sfx": 6.7,+ "avg": 10.13,+ "params": "1.0M",+ "gmacsPerSecond": 31.6+ },+ {+ "model": "DBS-BSRNN (128 bands)",+ "music": 6.48,+ "speech": 15.01,+ "sfx": 5.73,+ "avg": 9.07,+ "params": "4.7M",+ "gmacsPerSecond": 124.0+ }+ ],+ "baselines": [+ {+ "model": "TIGER (128), retrained",+ "avg": 8.74,+ "params": "1.4M",+ "gmacsPerSecond": 20.4+ },+ {+ "model": "BSRNN (128), retrained",+ "avg": 7.69,+ "params": "35.5M",+ "gmacsPerSecond": 76.6+ },+ {+ "model": "TIGER (published)",+ "avg": 7.44,+ "params": "1.4M",+ "gmacsPerSecond": 10.8+ },+ {+ "model": "MRX",+ "avg": 7.4,+ "params": "30.5M",+ "gmacsPerSecond": 10.6+ },+ {+ "model": "BSRNN (published)",+ "avg": 7.03,+ "params": "52.8M",+ "gmacsPerSecond": 18.2+ },+ {+ "model": "Conv-TasNet",+ "avg": 3.6,+ "params": "5.3M",+ "gmacsPerSecond": 19.8+ }+ ],+ "notes": [+ "abstract's 29.0% gain for DBS-BSRNN is vs the published BSRNN (9.07/7.03 = 1.290); vs retrained BSRNN(128) it is +18%",+ "dialogue separates well (15-16 dB); music vs effects is weak (5.7-7.8 dB): expect bleed between those two stems",+ "all numbers in-domain on synthetic English DnR v2; not measured on real films"+ ],+ "unreleased": {+ "MUSDB18-HQ": {+ "DBS-BSRNN": "5.43 dB (21.7M)",+ "DBS-BS-RoFormer": "6.34 dB (33.9M)",+ "DBS-MelRoFormer": "8.07 dB (19.1M)"+ },+ "EchoSet SDRi": {+ "DBS-TIGER": "14.55 dB (1.0M)",+ "DBS-BSRNN": "13.21 dB (7.1M)"+ }+ },+ "sources": [+ "upstream README L127-147",+ "model cards",+ "project_page/index.html",+ "arXiv abstract"+ ]+ },+ "speed": {+ "source": "ComfyUI-DBS docs/VERIFICATION.md L96-108 (Windows 11, RTX 5090, Core Ultra 9 285K 24 threads, torch 2.14.1+cu130, model loaded)",+ "rows": [+ {+ "model": "DBS-TIGER",+ "device": "RTX 5090",+ "input": "10 min mono",+ "seconds": 37.9,+ "xRealTime": 15.9,+ "peakGpuGiB": 1.64+ },+ {+ "model": "DBS-TIGER",+ "device": "RTX 5090",+ "input": "10 min each channel",+ "seconds": 74.5,+ "xRealTime": 16.1,+ "perChannel": true,+ "peakGpuGiB": 1.61+ },+ {+ "model": "DBS-BSRNN",+ "device": "RTX 5090",+ "input": "10 min mono",+ "seconds": 26.9,+ "xRealTime": 22.4,+ "peakGpuGiB": 1.42+ },+ {+ "model": "DBS-BSRNN",+ "device": "RTX 5090",+ "input": "10 min each channel",+ "seconds": 53.7,+ "xRealTime": 22.4,+ "perChannel": true,+ "peakGpuGiB": 1.42+ },+ {+ "model": "DBS-TIGER",+ "device": "CPU 24 threads",+ "input": "60 s mono",+ "seconds": 122.5,+ "xRealTime": 0.49+ },+ {+ "model": "DBS-BSRNN",+ "device": "CPU 24 threads",+ "input": "60 s mono",+ "seconds": 32.8,+ "xRealTime": 1.83+ }+ ],+ "fuobeHostGuess": "4 logical CPUs, torch 2.14.1+cpu: DBS-BSRNN about 0.3-0.6x real time (guess), DBS-TIGER about 4x slower; not measured (rules forbid running the pack)",+ "threads": "upstream demo: single thread, NNPACK off for TIGER on CPU is faster and identical (demo/README.md L74-75); the pack measured it 3.3x slower and not bit-identical (71.5 s vs 21.4 s for 10 s; VERIFICATION.md L112-114)",+ "memory": "stems held for the whole input: 12 bytes per input sample at 44.1 kHz, about 0.3 GB per 10 minutes (VERIFICATION.md L107-108)"+ },+ "limits": [+ "trained only on DnR v2 (LibriSpeech English read speech, FMA music, FSD50K effects); other languages, crowd/shouted speech, very loud music, real films unverified",+ "singing likely goes to music",+ "CUDA runs not bit-identical (pack 69-80 dB SNR vs official; official run-to-run 77.5 dB TIGER, 90.7 dB BSRNN); ComfyUI --deterministic does not set cudnn.deterministic",+ "pack 'auto' uses ComfyUI's device when its type is cuda, else CPU (nodes.py L28-35); ROCm reports cuda (comfy/model_management.py L195-220); MPS, XPU, DirectML fall back to CPU; AMD untested (VERIFICATION.md L124)"+ ]+ },+ "models": [+ {+ "name": "DBS-TIGER-DnR",+ "repo": "JusperLee/DBS-TIGER-DnR",+ "revision": "22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b",+ "url": "https://huggingface.co/JusperLee/DBS-TIGER-DnR",+ "licence": "Apache-2.0",+ "licenceSource": "model card front matter license: apache-2.0; HF tag license:apache-2.0",+ "gated": false,+ "trainedOn": "DnR v2 (CC BY 4.0), from scratch",+ "params": 1013729,+ "paramsNote": "1,013,727 F32 + 2 I64, 507 tensors, safetensors header 56,904 bytes",+ "sizeBytes": 4111836,+ "sizeMb": 4.11,+ "comfyFolder": "models/dbs/DBS-TIGER-DnR/",+ "files": [+ {+ "name": "model.safetensors",+ "bytes": 4111836,+ "sha256": "3d8205743f2a6f5a6704f5d4104d7cf5bf7bf02dab2fd728da31f4c69225cadb",+ "required": true,+ "url": "https://huggingface.co/JusperLee/DBS-TIGER-DnR/resolve/22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b/model.safetensors"+ },+ {+ "name": "config.json",+ "bytes": 957,+ "sha256": "c7f7893323e78f9b99747a13090558a13c4f4b77383a38acb9979709fd04d1d8",+ "required": true,+ "url": "https://huggingface.co/JusperLee/DBS-TIGER-DnR/resolve/22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b/config.json"+ },+ {+ "name": "README.md",+ "bytes": 2403,+ "sha256": "df844475771bc045de2586686df4df9acf933cf57080dca7c9db41d6b22e2f2e",+ "required": false,+ "url": "https://huggingface.co/JusperLee/DBS-TIGER-DnR/resolve/22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b/README.md"+ },+ {+ "name": ".gitattributes",+ "bytes": 1519,+ "required": false+ }+ ],+ "config": "win 2048, stride 512, in_channels 256, out_channels 132, num_blocks 8, upsampling_depth 5, num_sources 3, use_fla false; 4 regions bins 0-40-80-352-1025, 32 tokens each = 128 bands",+ "windows": {+ "chunkSeconds": 6.0,+ "hopSeconds": 3.0+ },+ "created": "2026-10-10T08:53:19Z",+ "lastModified": "2026-10-15T11:38:56Z",+ "downloads": 1648,+ "role": "better quality (10.13 dB avg); default on CUDA hosts",+ "mirror": "oulianov/DBS-TIGER-DnR (unofficial, same size, not needed)"+ },+ {+ "name": "DBS-BSRNN-DnR",+ "repo": "JusperLee/DBS-BSRNN-DnR",+ "revision": "5af343f57f106fbb95efe8a60f1a3999eeb0aef8",+ "url": "https://huggingface.co/JusperLee/DBS-BSRNN-DnR",+ "licence": "Apache-2.0",+ "licenceSource": "model card front matter; HF tag license:apache-2.0",+ "gated": false,+ "trainedOn": "DnR v2 (CC BY 4.0), from scratch",+ "params": 4713557,+ "paramsNote": "all F32, 314 tensors, safetensors header 31,920 bytes",+ "sizeBytes": 18886156,+ "sizeMb": 18.89,+ "comfyFolder": "models/dbs/DBS-BSRNN-DnR/",+ "files": [+ {+ "name": "model.safetensors",+ "bytes": 18886156,+ "sha256": "26290f93e7b501113325e922e7b0c18edca944634e6b9be39856a55204628405",+ "required": true,+ "url": "https://huggingface.co/JusperLee/DBS-BSRNN-DnR/resolve/5af343f57f106fbb95efe8a60f1a3999eeb0aef8/model.safetensors"+ },+ {+ "name": "config.json",+ "bytes": 1242,+ "sha256": "57055e2b71913d98a4e1ed426b71617f0dfc372901cc5a8a3bc4a5c69415043e",+ "required": true,+ "url": "https://huggingface.co/JusperLee/DBS-BSRNN-DnR/resolve/5af343f57f106fbb95efe8a60f1a3999eeb0aef8/config.json"+ },+ {+ "name": "README.md",+ "bytes": 2404,+ "sha256": "fb386d345dd955befb6dd13e7cb4522d1b2222cba382c17747750ac6a41b3f21",+ "required": false,+ "url": "https://huggingface.co/JusperLee/DBS-BSRNN-DnR/resolve/5af343f57f106fbb95efe8a60f1a3999eeb0aef8/README.md"+ },+ {+ "name": ".gitattributes",+ "bytes": 1519,+ "required": false+ }+ ],+ "config": "stft_n_fft 2048, hop 512, win 2048, not normalized; dim 128, depth 6, LSTM bidirectional, rnn_hidden_size 128, num_stems 3, stereo false; 4 regions bins 0-64-128-576-1025, max_chunks 64/64/32/32 = 128 bands",+ "windows": {+ "chunkSeconds": 3.0,+ "hopSeconds": 1.5+ },+ "created": "2026-10-10T08:52:44Z",+ "lastModified": "2026-10-15T11:37:45Z",+ "downloads": 704,+ "role": "3.7x faster on CPU (9.07 dB avg); default on CPU hosts"+ }+ ],+ "requiredFilesTotalBytes": 23000191,+ "licences": [+ {+ "item": "DBS-TIGER-DnR and DBS-BSRNN-DnR weights",+ "licence": "Apache-2.0",+ "class": "commercial",+ "notes": "not gated; trained on DnR v2",+ "source": "model cards at the pinned revisions; HF API"+ },+ {+ "item": "Upstream DBS code (JusperLee/Dynamic-Band-Splitting)",+ "licence": "Apache-2.0",+ "class": "commercial",+ "notes": "LICENSE is the plain template; authors from pyproject/CITATION (Zhang, Li, Hu); keep THIRD_PARTY.md MIT notices: BS-RoFormer (c) 2023 Phil Wang; Music-Source-Separation-Training (c) 2024 Roman Solovyev (ZFTurbo); TIGER / Look2Hear (c) 2026 Kai Li",+ "source": "upstream @ ff526463a58ee0278e7bd05c4b8bce112b743e34"+ },+ {+ "item": "ComfyUI-DBS pack code (outside dbs_comfy/vendor)",+ "licence": "MIT",+ "class": "commercial",+ "notes": "(c) 2026 hiroki-abe-58; Registry metadata license {file: LICENSE}",+ "source": "pack @ f656e53434b5485c148a2866fbd6ddc6b6152ed6 LICENSE, NOTICE"+ },+ {+ "item": "Vendored DBS code (dbs_comfy/vendor)",+ "licence": "Apache-2.0 with MIT notices",+ "class": "commercial",+ "notes": "vendor/LICENSE SHA-256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30, identical to upstream",+ "source": "sha256sum"+ },+ {+ "item": "DnR v2 dataset (Zenodo 6949108)",+ "licence": "CC BY 4.0",+ "class": "conditions",+ "notes": "attribution Petermann, Wichern, Wang, Le Roux; from general knowledge (not checked): some FSD50K/FMA source clips carry their own CC licences incl. NC; reach to weights/outputs unresolved; information only",+ "source": "https://zenodo.org/api/records/6949108"+ },+ {+ "item": "Paper arXiv:2610.14993",+ "licence": "arXiv non-exclusive distribution licence 1.0",+ "source": "abs page"+ },+ {+ "item": "HF Space JusperLee/DBS-Demo",+ "licence": "apache-2.0 (card)",+ "source": "Space API"+ },+ {+ "item": "Docs images (pack docs/images/stems.png, project page media)",+ "licence": "CC BY 3.0, (c) Blender Foundation (Tears of Steel, Sintel)",+ "notes": "Fuobe does not need them"+ },+ {+ "item": "fal-ai/sam-audio/* (hosted)",+ "licence": "paid API; weights facebook/sam-audio-* under Meta's SAM License (last updated November 19, 2025), gated manual",+ "class": "paid-api"+ },+ {+ "item": "fal-ai/demucs (hosted)",+ "licence": "paid API; Demucs MIT",+ "class": "paid-api"+ },+ {+ "item": "fal-ai/elevenlabs/audio-isolation, veed/clean-audio (hosted)",+ "licence": "proprietary, paid API",+ "class": "paid-api"+ },+ {+ "item": "fal-ai/deepfilternet3 (hosted)",+ "licence": "paid API; DeepFilterNet upstream licence not checked",+ "class": "paid-api"+ }+ ],+ "licencesForFuobe": {+ "nodePackRow": {+ "file": "src/lib/licences.ts (NODE_PACKS, ~L406)",+ "name": "ComfyUI-DBS",+ "url": "https://github.com/hiroki-abe-58/ComfyUI-DBS/tree/f656e53434b5485c148a2866fbd6ddc6b6152ed6",+ "licence": "MIT",+ "class": "commercial",+ "note": "Dialogue / music / effects separation; MIT code, vendored DBS code Apache-2.0 with MIT notices; the DBS weights are Apache-2.0, trained on DnR v2 (CC BY 4.0)"+ },+ "workflowLicenceText": "DBS weights Apache-2.0 (JusperLee; trained on DnR v2, CC BY 4.0); ComfyUI-DBS code MIT; vendored DBS code Apache-2.0 with MIT notices (BS-RoFormer, MSST, TIGER)",+ "aboutPage": "show the DnR v2 CC BY 4.0 attribution and the three MIT notices",+ "default": "all switches on"+ },+ "notReleased": {+ "dbs": "only the two DnR v2 checkpoints; HF author JusperLee lists 21 models, 2 DBS; no MUSDB18-HQ or EchoSet DBS checkpoints",+ "predecessor": "JusperLee/TIGER-DnR (static TIGER, arXiv 2410.01469, Apache-2.0, 17.1 MB, 7.44 dB avg)",+ "bandit": "kwatcharasupat/bandit: code Apache-2.0; DnR checkpoints Zenodo 10160698 CC BY-NC 4.0, 309-776 MB, 32-83M params; scores not compared (DnR record 5574713 may differ)"+ },+ "pack": {+ "name": "ComfyUI-DBS",+ "registryName": "dbs-soundtrack-separation",+ "url": "https://github.com/hiroki-abe-58/ComfyUI-DBS",+ "commit": "f656e53434b5485c148a2866fbd6ddc6b6152ed6",+ "commitDate": "2026-10-19T15:46:40+09:00",+ "commitMessage": "Make the slowest tests cheaper and give CI more time",+ "tag": "v0.1.0",+ "version": "0.1.0",+ "official": false,+ "licence": "MIT (c) 2026 hiroki-abe-58; vendored dbs code Apache-2.0 with MIT notices; models Apache-2.0 (trained on DnR v2, CC BY 4.0)",+ "requiresPython": ">=3.10",+ "comfyApi": "V3 (comfy_api.latest io.ComfyNode, ComfyExtension, comfy_entrypoint; nodes.py L100-107); README asks ComfyUI v0.38.0+",+ "dependencies": {+ "requirements": [+ "einops>=0.7",+ "safetensors>=0.4"+ ],+ "torch": "from ComfyUI",+ "fuobeHasThem": "yes: einops (install-comfyui.sh L121) and safetensors; no new package",+ "worker": "main ComfyUI (no conflicts); not the isolated worker"+ },+ "nodeClasses": [+ "DBSLoader",+ "DBSSeparate"+ ],+ "nodes": [+ {+ "class": "DBSLoader",+ "displayName": "DBS Loader",+ "category": "loaders/dbs",+ "source": "dbs_comfy/nodes.py L38-63",+ "inputs": [+ {+ "name": "model",+ "type": "COMBO",+ "options": [+ "DBS-TIGER-DnR",+ "DBS-BSRNN-DnR"+ ],+ "default": "DBS-TIGER-DnR",+ "note": "fixed name list, not a file picker"+ },+ {+ "name": "device",+ "type": "COMBO",+ "options": [+ "auto",+ "cpu"+ ],+ "default": "auto",+ "note": "auto = ComfyUI's device when its type is cuda, else CPU"+ }+ ],+ "outputs": [+ {+ "name": "model",+ "type": "DBS_MODEL",+ "note": "dict {folder, name, device}"+ }+ ],+ "behaviour": [+ "loads at once from <models>/dbs/<model>/ with config.json + model.safetensors; first registered dbs folder holding both wins (paths.py L13-28)",+ "fails at this node when a file is missing",+ "safetensors.torch.load_model(strict=True) (runtime.py L61)",+ "one cached model at a time keyed by realpath, name, device; cleared on any other load (runtime.py L56-66)"+ ]+ },+ {+ "class": "DBSSeparate",+ "displayName": "DBS Separate (music / sfx / speech)",+ "category": "audio/dbs",+ "source": "dbs_comfy/nodes.py L66-97",+ "inputs": [+ {+ "name": "model",+ "type": "DBS_MODEL"+ },+ {+ "name": "audio",+ "type": "AUDIO"+ },+ {+ "name": "channels",+ "type": "COMBO",+ "options": [+ "mono",+ "each channel"+ ],+ "default": "mono"+ },+ {+ "name": "output_sample_rate",+ "type": "COMBO",+ "options": [+ "44100",+ "input"+ ],+ "default": "44100"+ }+ ],+ "outputs": [+ {+ "name": "music",+ "type": "AUDIO"+ },+ {+ "name": "sfx",+ "type": "AUDIO"+ },+ {+ "name": "speech",+ "type": "AUDIO"+ },+ {+ "name": "report",+ "type": "STRING",+ "note": "indented JSON: model, device, input_sample_rate, resampled_to_44100, output_sample_rate, channels, batch, signals_per_item, windows, window_seconds, hop_seconds, audio_seconds, seconds, times_real_time"+ }+ ],+ "behaviour": [+ "progress bar per window and an interrupt check per window (nodes.py L15-25)",+ "batch items processed one by one",+ "refuses empty or non-finite waveforms (runtime.py L120-123)",+ "resamples non-44.1 kHz input with comfy.audio.resample (runtime.py L102-107)"+ ]+ }+ ],+ "liveServer": "GET /object_info/DBSLoader and /object_info/DBSSeparate on 127.0.0.1:8188 return {} (not installed; nothing installed)",+ "fitWithFuobeComfy": "ComfyUI fc04da91 has io.Custom (comfy_api/latest/_io.py L133), ComfyExtension, comfy.audio.resample (comfy/audio.py L36), folder_paths.add_model_folder_path(is_default) (folder_paths.py L382-398)",+ "ci": "ComfyUI v0.38.0 (Ubuntu + Windows, Python 3.12, torch 2.14.1; Ubuntu Python 3.10, torch 2.8.0) and v0.42.1 (Ubuntu, Python 3.12); Fuobe's v0.41.0-7 on Python 3.13 not covered",+ "downloads": "none at run time (paths.py, runtime.py read local files; vendored hub.py is an empty mixin); tools/download_model.py is a manual script using hf_hub_download at the pinned revisions with SHA-256 checks",+ "vendored": {+ "upstreamCommit": "ff526463a58ee0278e7bd05c4b8bce112b743e34",+ "byteIdentical": [+ "models/bsrnn.py",+ "models/tiger.py",+ "modules/__init__.py",+ "modules/band_split.py",+ "modules/dbs.py",+ "modules/stft.py",+ "engine/inference.py",+ "LICENSE",+ "THIRD_PARTY.md"+ ],+ "manifestCheck": "sha256sum -c MANIFEST.sha256: 13/13 OK",+ "shims": [+ "dbs/__init__.py",+ "engine/__init__.py (exports separate only)",+ "models/__init__.py (BSRNN and TIGER only)",+ "hub.py (empty PyTorchModelHubMixin)"+ ],+ "parity": "author reports CPU bit-for-bit 6/6 and CUDA with deterministic algorithms 4/4 (VERIFICATION.md L22-54)"+ },+ "riskScan": {+ "patterns": [+ "requests",+ "urllib",+ "subprocess",+ "eval(",+ "exec(",+ "pickle",+ "torch.load",+ "trust_remote_code",+ "socket",+ "os.system",+ "Popen",+ "importlib",+ "hf_hub"+ ],+ "nodeAndVendoredCode": "no hits",+ "hits": {+ "tools/download_model.py": "hf_hub_download (manual)",+ "scripts/ci_queue_check.py": "subprocess.Popen of a ComfyUI, urllib to 127.0.0.1",+ "scripts/queue_client.py": "urllib to a ComfyUI URL",+ "scripts/export_gui_workflows.py": "refuses URLs other than http://127.0.0.1:"+ },+ "excludedFromRegistryZip": [+ "scripts/",+ "tests/",+ ".github/"+ ],+ "other": "tiger.py imports fla only with use_fla=true (released config false); config.json splatted into the constructor (runtime.py L60): a tampered config could only raise"+ },+ "registry": {+ "url": "https://api.comfy.org/nodes/dbs-soundtrack-separation",+ "created": "2026-10-19",+ "downloads": 12,+ "githubStars": 46,+ "versions": [+ {+ "version": "0.1.0",+ "status": "NodeVersionStatusFlagged",+ "reason": "not public"+ }+ ],+ "zipMatchesGit": "yes, at f656e53434b5485c148a2866fbd6ddc6b6152ed6 (listed and hashed without extraction)",+ "fuobeImpact": "Fuobe installs by pinned git clone (install-comfyui.sh NODES), so the flag does not block it; record it as a trust signal"+ },+ "exampleWorkflows": [+ {+ "file": "workflows/api/separate_soundtrack.json",+ "graph": "LoadAudio -> DBSLoader(DBS-TIGER-DnR, auto) -> DBSSeparate(mono, 44100) -> 3x SaveAudioAdvanced flac (dbs/music, dbs/sfx, dbs/speech) + PreviewAny(report)"+ },+ {+ "file": "workflows/api/remove_dialogue.json",+ "graph": "LoadAudio -> DBSLoader -> DBSSeparate(each channel, input) -> AudioMerge(music, sfx, add) -> SaveAudioAdvanced dbs/music_and_effects; speech -> SaveAudioAdvanced dbs/dialogue; PreviewAny"+ },+ {+ "file": "workflows/api/video_remove_dialogue.json",+ "graph": "LoadVideo -> GetVideoComponents -> DBSSeparate(each channel, input) -> AudioMerge add -> CreateVideo -> SaveVideo dbs/no_dialogue; dialogue FLAC; PreviewAny",+ "fuobe": "do not reuse: decodes every frame to IMAGE tensors and re-encodes (about 45 GB per minute of 1080p30 at float32, my arithmetic); use LoadAudio + stream-copy video-mux-audio(-replace)"+ }+ ],+ "install": {+ "nodesRow": "[ComfyUI-DBS]=\"https://github.com/hiroki-abe-58/ComfyUI-DBS f656e53434b5485c148a2866fbd6ddc6b6152ed6\"",+ "where": "scripts/comfy/install-comfyui.sh NODES (L15-34)",+ "weights": "opt-out block (DBS_WEIGHTS=0) downloading the 4 required files at the pinned revisions into models/dbs/<name>/ with sha256sum -c"+ }+ },+ "graphs": [+ {+ "id": "separate-soundtrack-dbs",+ "capability": "separate-audio",+ "handBuilt": "scripts/comfy/hand-built/separate-soundtrack-dbs.json",+ "nodes": [+ {+ "id": "1",+ "class": "LoadAudio",+ "inputs": {+ "audio": "<binding audio>"+ }+ },+ {+ "id": "2",+ "class": "DBSLoader",+ "inputs": {+ "model": "DBS-BSRNN-DnR",+ "device": "auto"+ }+ },+ {+ "id": "3",+ "class": "DBSSeparate",+ "inputs": {+ "model": [+ "2",+ 0+ ],+ "audio": [+ "1",+ 0+ ],+ "channels": "mono",+ "output_sample_rate": "input"+ }+ },+ {+ "id": "4",+ "class": "AudioMerge",+ "inputs": {+ "audio1": [+ "1",+ 0+ ],+ "audio2": [+ "3",+ 2+ ],+ "merge_method": "subtract"+ }+ },+ {+ "id": "5",+ "class": "SaveAudioAdvanced",+ "inputs": {+ "audio": [+ "3",+ 2+ ],+ "filename_prefix": "fuobe/dbs/voice",+ "format": "flac"+ }+ },+ {+ "id": "6",+ "class": "SaveAudioAdvanced",+ "inputs": {+ "audio": [+ "3",+ 0+ ],+ "filename_prefix": "fuobe/dbs/music",+ "format": "flac"+ }+ },+ {+ "id": "7",+ "class": "SaveAudioAdvanced",+ "inputs": {+ "audio": [+ "3",+ 1+ ],+ "filename_prefix": "fuobe/dbs/effects",+ "format": "flac"+ }+ },+ {+ "id": "8",+ "class": "SaveAudioAdvanced",+ "inputs": {+ "audio": [+ "4",+ 0+ ],+ "filename_prefix": "fuobe/dbs/background",+ "format": "flac"+ }+ },+ {+ "id": "9",+ "class": "PreviewAny",+ "inputs": {+ "source": [+ "3",+ 3+ ]+ }+ }+ ],+ "bindings": {+ "audio": "1.audio",+ "separationModel": "2.model",+ "channels": "3.channels"+ },+ "outputs": [+ {+ "node": "5",+ "kind": "audio",+ "stem": "voice"+ },+ {+ "node": "6",+ "kind": "audio",+ "stem": "music"+ },+ {+ "node": "7",+ "kind": "audio",+ "stem": "effects"+ },+ {+ "node": "8",+ "kind": "audio",+ "stem": "background"+ },+ {+ "node": "9",+ "kind": "text",+ "role": "report"+ }+ ],+ "defaults": {+ "separationModel": "DBS-BSRNN-DnR (DBS-TIGER-DnR when /system_stats devices[0].type is cuda)",+ "channels": "mono ('each channel' for > 2 channels or when stereo stems are asked)"+ },+ "requiredModels": [+ "dbs/DBS-BSRNN-DnR/model.safetensors",+ "dbs/DBS-BSRNN-DnR/config.json"+ ],+ "optionalModels": [+ "dbs/DBS-TIGER-DnR/model.safetensors",+ "dbs/DBS-TIGER-DnR/config.json"+ ],+ "packs": [+ "ComfyUI-DBS"+ ],+ "vramGb": 0,+ "notes": "background = original - speech: keeps the original stereo image in mono mode, equals music + effects per channel in each-channel mode; voice first so a chain without a stem takes the dialogue"+ },+ {+ "id": "dub-prepare-dbs-transcribe",+ "capability": "separate-audio",+ "handBuilt": "scripts/comfy/hand-built/dub-prepare-dbs-transcribe.json",+ "nodes": [+ {+ "id": "1",+ "class": "LoadAudio"+ },+ {+ "id": "2",+ "class": "DBSLoader",+ "inputs": {+ "model": "DBS-BSRNN-DnR",+ "device": "auto"+ }+ },+ {+ "id": "3",+ "class": "DBSSeparate",+ "inputs": {+ "channels": "mono",+ "output_sample_rate": "input"+ }+ },+ {+ "id": "4",+ "class": "AudioMerge",+ "inputs": {+ "audio1": [+ "1",+ 0+ ],+ "audio2": [+ "3",+ 2+ ],+ "merge_method": "subtract"+ }+ },+ {+ "id": "5",+ "class": "SaveAudioAdvanced",+ "inputs": {+ "audio": [+ "3",+ 2+ ],+ "format": "flac"+ }+ },+ {+ "id": "6",+ "class": "SaveAudioAdvanced",+ "inputs": {+ "audio": [+ "4",+ 0+ ],+ "format": "flac"+ }+ },+ {+ "id": "7",+ "class": "AILab_Qwen3ASRSubtitle",+ "inputs": {+ "audio": [+ "3",+ 2+ ],+ "note": "same settings as node 7 of dub-prepare-separate-transcribe"+ }+ },+ {+ "id": "8",+ "class": "SaveText",+ "role": "cues"+ },+ {+ "id": "9",+ "class": "SaveText",+ "role": "transcript"+ },+ {+ "id": "10",+ "class": "PreviewAny",+ "role": "language"+ }+ ],+ "bindings": {+ "audio": "1.audio",+ "separationModel": "2.model",+ "sourceLanguage": "7.language",+ "asrModel": "7.model",+ "hints": "7.hints",+ "maxChars": "7.max_chars"+ },+ "outputs": [+ {+ "node": "5",+ "kind": "audio",+ "stem": "voice"+ },+ {+ "node": "6",+ "kind": "audio",+ "stem": "background"+ },+ {+ "node": "8",+ "kind": "text",+ "role": "cues"+ },+ {+ "node": "9",+ "kind": "text",+ "role": "transcript"+ },+ {+ "node": "10",+ "kind": "text",+ "role": "language"+ }+ ],+ "vramGb": 8,+ "notes": "same output contract as dub-prepare-separate-transcribe (library.spec.mjs L2239-2262); Qwen3-ASR stays, so the 8 GB listing and ~5.9 GB first-run download remain"+ },+ {+ "id": "soundtrack-remix-dbs",+ "capability": "separate-audio",+ "handBuilt": "scripts/comfy/hand-built/soundtrack-remix-dbs.json",+ "nodes": [+ {+ "id": "1-3",+ "class": "LoadAudio, DBSLoader, DBSSeparate",+ "inputs": {+ "channels": "<binding channels>"+ }+ },+ {+ "id": "4",+ "class": "AudioAdjustVolume",+ "inputs": {+ "audio": [+ "3",+ 2+ ],+ "volume": "<binding voiceDb>"+ }+ },+ {+ "id": "5",+ "class": "AudioAdjustVolume",+ "inputs": {+ "audio": [+ "3",+ 0+ ],+ "volume": "<binding musicDb>"+ }+ },+ {+ "id": "6",+ "class": "AudioAdjustVolume",+ "inputs": {+ "audio": [+ "3",+ 1+ ],+ "volume": "<binding effectsDb>"+ }+ },+ {+ "id": "7",+ "class": "AudioMerge",+ "inputs": {+ "audio1": [+ "4",+ 0+ ],+ "audio2": [+ "5",+ 0+ ],+ "merge_method": "add"+ }+ },+ {+ "id": "8",+ "class": "AudioMerge",+ "inputs": {+ "audio1": [+ "7",+ 0+ ],+ "audio2": [+ "6",+ 0+ ],+ "merge_method": "add"+ }+ },+ {+ "id": "9",+ "class": "SaveAudioAdvanced",+ "inputs": {+ "audio": [+ "8",+ 0+ ],+ "format": "flac"+ }+ }+ ],+ "bindings": {+ "audio": "1.audio",+ "separationModel": "2.model",+ "channels": "3.channels",+ "voiceDb": "4.volume",+ "musicDb": "5.volume",+ "effectsDb": "6.volume"+ },+ "outputs": [+ {+ "node": "9",+ "kind": "audio",+ "role": "mix"+ }+ ],+ "notes": "AudioAdjustVolume takes INT dB -100..100; AudioMerge scales the whole mix down when it peaks over 1.0; mono mode gives a mono mix"+ }+ ],+ "videoChains": {+ "noDialogue": "separate-soundtrack-dbs -> mux (video-mux-audio-replace) with stem background",+ "dialogueOnly": "separate-soundtrack-dbs -> mux (video-mux-audio-replace) with stem voice",+ "lowerTheMusic": "separate-soundtrack-dbs -> mux (video-mux-audio) audio = voice, audio2 = background, backgroundVolumeDb",+ "why": "picture stream-copied by Concatenate Video complete_audio (library.spec.mjs L2400-2428)"+ },+ "libraryTooling": {+ "problem": "build-library detects models only via LOADER_FOLDERS[class][input] or a model extension on a widget value (build-library.mjs L31-48, L306-334); DBSLoader.model is an extension-less name, so DBS weights would be invisible to install and missing-model help",+ "fix": [+ "KNOWN_MODELS keyed by path under the folder: 'DBS-BSRNN-DnR/model.safetensors' etc. with folder 'dbs' and pinned URLs",+ "new spec field requiredModels next to optionalModels (build-library.mjs L335-346); TIGER pair as optionalModels",+ "packs: ['ComfyUI-DBS'] + PACK_CLASSES['ComfyUI-DBS'] = /^DBS(Loader|Separate)$/ (library.spec.mjs L140-143) + CUSTOM_NODE_REPOS (L110-136)",+ "binding keys separationModel, channels, voiceDb, musicDb, effectsDb in BINDING_KEYS (build-library.mjs L96ff)"+ ],+ "presence": "ComfyUI registers 'dbs' with no extension filter (folder_paths.py L398, L445-446); GET /models/dbs lists 'DBS-BSRNN-DnR/model.safetensors'; /api/comfyui matches by file string (Windows hosts list back-slashed paths)",+ "validation": "validate-workflows.mjs only POSTs /prompt and deletes the job (L9-20); zero-byte placeholders (L111-113, L190) are not needed for DBS's fixed combo; nothing checks the real weights exist"+ },+ "outsideComfy": {+ "weights": "plain F32 safetensors + config.json (PyTorchModelHubMixin layout); no ONNX, no export path anywhere",+ "pythonSidecar": "dbs_comfy/runtime.py runs without ComfyUI except comfy.audio for resampling (L102-107); needs torch, safetensors, einops, 77,643 bytes of vendored .py, the weights; Fuobe's app server never spawns processes (git grep in src/ for child_process|spawn(|execFile|execa|fluent-ffmpeg: none); not worth it as a product path",+ "evalHarness": "scripts/eval/metrics venv has torch 2.14.1+cpu and safetensors 0.8.0 (requirements.txt L73, L83); only einops missing; no separation metric yet",+ "onnx": "feasible, unverified: wrap the network core (no complex tensors, no ISTFT in ONNX); patch torch.stft/istft/complex (tiger.py L651, L679, L526; modules/dbs.py L315, L332); ops TopK, CumSum, GatherElements, ScatterElements add (opset 16+) and max (opset 18+, export unverified), bidirectional LSTM, grouped/dilated conv; windows TIGER 264,600 samples/517 frames, BSRNN 132,300/259; short clips run unpadded (inference.py L32-34)",+ "browser": "decode/resample available (decodeAudioData, OfflineAudioContext); JS STFT -> onnxruntime-web (WASM or WebGPU) -> JS iSTFT; 4.1 MB / 18.9 MB models; 31.6 G / 124 G MACs per second of audio; guess minutes per minute on WASM; WebGPU coverage of LSTM and ScatterElements max unknown",+ "browserMixer": "a live stem mixer (gain, solo, mute, OfflineAudioContext export) needs no model and works for any engine's stems"+ },+ "hosted": [+ {+ "provider": "fal",+ "id": "fal-ai/sam-audio/separate",+ "stems": [+ "target",+ "residual"+ ],+ "inputs": {+ "audio_url": "required, WAV/MP3/FLAC",+ "prompt": "required",+ "predict_spans": "default false",+ "reranking_candidates": "1-7, default 1",+ "acceleration": "fast|balanced|quality, default balanced",+ "max_chunk_duration": "10-60 s, default 60",+ "chunk_overlap": "0-30 s, default 5",+ "output_format": "wav|mp3, default wav"+ },+ "outputs": [+ "target",+ "residual",+ "duration",+ "sample_rate (default 48000)"+ ],+ "price": {+ "usd": 0.05,+ "per": "30 s of output audio",+ "extraCandidate": "0.025 per 30 s"+ },+ "priceNote": "1 min one pass about $0.10, or $0.20 if target and residual both count; two-pass 3 stems $0.20-0.40/min",+ "source": "https://fal.ai/models/fal-ai/sam-audio/separate/llms.txt",+ "inFuobe": "researched (paid-model-apis-3.md L369), not in the catalog; STEM_ALIASES maps target->voice, residual->background",+ "fuobeId": "sam-audio-separate (proposed)"+ },+ {+ "provider": "fal",+ "id": "fal-ai/sam-audio/visual-separate",+ "stems": [+ "target",+ "residual"+ ],+ "inputs": {+ "video_url": "required",+ "mask_video_url": "black = target",+ "prompt": "default ''",+ "reranking_candidates": "1-4",+ "acceleration": "",+ "max_chunk_duration": "10-60",+ "chunk_overlap": "0-30",+ "output_format": ""+ },+ "price": {+ "usd": 0.05,+ "per": "30 s of output audio",+ "extraCandidate": "0.025 per 30 s"+ },+ "source": "https://fal.ai/models/fal-ai/sam-audio/visual-separate/llms.txt",+ "inFuobe": "no",+ "use": "remove only one person's voice with a SAM mask (Character Swap Studio, Remove object)"+ },+ {+ "provider": "fal",+ "id": "fal-ai/sam-audio/span-separate",+ "stems": [+ "target",+ "residual"+ ],+ "inputs": {+ "audio_url": "required",+ "spans": "required [{start, end, include}]",+ "prompt": "optional",+ "reranking_candidates": "1-7 (needs a prompt)",+ "use_sound_activity_ranking": "",+ "trim_to_span": "",+ "acceleration": "",+ "max_chunk_duration": "",+ "chunk_overlap": "",+ "output_format": ""+ },+ "price": {+ "usd": 0.05,+ "per": "30 s of output audio",+ "extraCandidate": "0.025 per 30 s"+ },+ "source": "https://fal.ai/models/fal-ai/sam-audio/span-separate/llms.txt",+ "inFuobe": "no"+ },+ {+ "provider": "fal",+ "id": "fal-ai/demucs",+ "stems": [+ "vocals",+ "drums",+ "bass",+ "other",+ "guitar (6s)",+ "piano (6s)"+ ],+ "inputs": {+ "audio_url": "required",+ "model": "htdemucs|htdemucs_ft|htdemucs_6s (default)|hdemucs_mmi|mdx|mdx_extra|mdx_q|mdx_extra_q",+ "stems": "list",+ "segment_length": "",+ "shifts": "1-10, default 1",+ "overlap": "0-1, default 0.25",+ "output_format": "mp3 (default)|wav"+ },+ "price": {+ "usd": 0.0007,+ "per": "second (audio or compute not stated; Fuobe assumes audio: $0.042/min)"+ },+ "source": "https://fal.ai/models/fal-ai/demucs/llms.txt",+ "inFuobe": "demucs (fixed htdemucs; scripts/gen-cloud-models.py L886-887)",+ "note": "a music separator: speech goes to vocals with any singing; effects scatter"+ },+ {+ "provider": "fal",+ "id": "fal-ai/elevenlabs/audio-isolation",+ "stems": [+ "voice"+ ],+ "inputs": {+ "audio_url": "or video_url (one required)"+ },+ "price": {+ "usd": 0.1,+ "per": "minute"+ },+ "source": "https://fal.ai/models/fal-ai/elevenlabs/audio-isolation/llms.txt",+ "inFuobe": "elevenlabs-voice-isolation (gen-cloud-models.py L895-896)",+ "note": "no background returned"+ },+ {+ "provider": "fal",+ "id": "fal-ai/deepfilternet3",+ "stems": [+ "denoised speech"+ ],+ "price": {+ "usd": 0.001,+ "per": "second"+ },+ "source": "https://fal.ai/models/fal-ai/deepfilternet3/llms.txt",+ "inFuobe": "no",+ "note": "speech enhancement, not separation"+ },+ {+ "provider": "fal",+ "id": "veed/clean-audio",+ "stems": [+ "cleaned speech (48 kHz, loudness-normalized)"+ ],+ "inputs": {+ "audio_url": "required (audio or video, up to 30 min)",+ "strength": ""+ },+ "price": {+ "usd": 0.0125,+ "per": "minute of input, rounded up, 1-minute minimum"+ },+ "source": "https://fal.ai/models/veed/clean-audio/llms.txt",+ "inFuobe": "researched (paid-model-apis-3.md L370), not in the catalog"+ },+ {+ "provider": "replicate",+ "id": "ryan5453/demucs",+ "stems": [+ "vocals",+ "drums",+ "bass",+ "other",+ "guitar",+ "piano"+ ],+ "price": {+ "usdPerRun": 0.0062,+ "note": "page estimate (161 runs per $1); hardware text A100 40GB vs page JSON A40"+ },+ "source": "https://replicate.com/ryan5453/demucs",+ "inFuobe": "no"+ },+ {+ "provider": "replicate",+ "id": "cjwbw/demucs",+ "stems": [+ "drums",+ "bass",+ "vocals",+ "other"+ ],+ "price": {+ "usdPerRun": 0.0087,+ "note": "page estimate on an Nvidia T4 (114 runs per $1)"+ },+ "source": "https://replicate.com/cjwbw/demucs",+ "inFuobe": "no"+ },+ {+ "provider": "replicate",+ "id": "geopti/sam-audio-large",+ "stems": [+ "target",+ "residual (output_residual=true)"+ ],+ "inputs": {+ "audio": "required (audio or video URI)",+ "description": "default 'speech'",+ "use_span_prompting": "",+ "span_anchors": "JSON",+ "predict_spans": "",+ "output_residual": "default false"+ },+ "price": {+ "usdPerRun": 0.063,+ "note": "page estimate on an L40S (15 runs per $1), ~65 s per run"+ },+ "source": "https://replicate.com/geopti/sam-audio-large",+ "inFuobe": "no",+ "note": "community wrapper"+ },+ {+ "provider": "huggingface-space",+ "id": "JusperLee/DBS-Demo (Gradio api_name 'separate')",+ "stems": [+ "music",+ "sfx",+ "speech",+ "boundary JSON"+ ],+ "price": {+ "note": "free within the visitor's ZeroGPU quota; queue max 4, concurrency 1"+ },+ "source": "https://huggingface.co/api/spaces/JusperLee/DBS-Demo; upstream demo/app.py L444-445",+ "inFuobe": "no",+ "note": "the only hosted DBS; not a production engine"+ },+ {+ "provider": "audioshake",+ "id": "AudioShake API: dialogue, effects, music_fx, music_removal",+ "stems": [+ "dialogue",+ "effects",+ "music + effects",+ "speech + effects"+ ],+ "price": {+ "credits": {+ "dialogue": 1.5,+ "effects": 1.5,+ "music_fx": 1.5,+ "music_removal": 10+ },+ "per": "minute of source audio, per target model, rounded up",+ "usdPerCredit": "not public"+ },+ "source": "https://developer.audioshake.ai/models.md; https://developer.audioshake.ai/billing.md",+ "inFuobe": "no (new provider and key)"+ }+ ],+ "hostedSummary": {+ "noHostedDbs": "fal model search 2026-10-29 found no DBS or other dialogue/music/effects model; Replicate search could not be checked (client-rendered); web search found none",+ "threeStemsCloud": "two SAM Audio passes (my proposal): 'speech' -> target dialogue, residual music+effects; 'music' on the residual -> target music, residual effects",+ "selfHost": "possible as a Cog model or fal serverless app (CPU is enough; guess well under $0.01 per audio minute); not a listed endpoint"+ },+ "fuobeToday": {+ "summary": "no three-stem separation anywhere; a voice/background split for dubbing and Demucs music stems in the cloud",+ "operation": {+ "id": "separate-audio",+ "type": "src/lib/catalog/types.ts L59 ('audio or video -> voice and background stems')",+ "label": "types.ts L126 'Separate voice'",+ "outputKind": "types.ts L193 audio",+ "planCheck": "plan.ts L492",+ "stemOutputs": "payload.ts L822-834 (STEM_ORDER lacks music/sfx/effects)",+ "stemAliases": "src/server/generations.ts L764-789 (voice = voice|vocals|speech|target; background = background|accompaniment|instrumental|residual|no_vocals)",+ "chainSlotStem": "types.ts L894-898",+ "dubStemLists": "src/lib/av/dub.ts L159-160",+ "demo": "src/server/providers/mock.ts L287-297 (voice + background)",+ "videoToLoadAudio": "src/server/providers/comfyui.ts L864"+ },+ "cloudModels": {+ "demucs": "fal-ai/demucs, htdemucs, $0.0007/s",+ "extract-soundtrack": "fal-ai/workflow-utilities/extract-audio, hidden, $0.0002/s compute",+ "elevenlabs-voice-isolation": "$0.10/min",+ "source": "scripts/gen-cloud-models.py L886-896"+ },+ "openModel": {+ "id": "oss-voice-separate",+ "name": "MelBand RoFormer + Qwen3-ASR",+ "where": "src/lib/catalog/models.ts L1113-1124",+ "workflow": "dub-prepare-separate-transcribe (library.spec.mjs L2239-2262)",+ "separator": "MelBandRoformer_fp16, 0.46 GB, MIT, vocals/instrumental model",+ "vramGb": "8 for separation + ASR"+ },+ "dub": {+ "files": [+ "src/lib/av/dub.ts",+ "src/server/dub.ts",+ "src/components/dub/dub-studio.tsx"+ ],+ "cloud": "ElevenLabs isolation -> Scribe v2; extract-soundtrack -> Demucs (every stem but vocals); each bed lowered BACKGROUND_DB -3 by linear loudnorm (L61-70); OPTIONAL_PREPARE (L157)",+ "open": "oss-voice-separate -> oss-mux"+ },+ "hubs": {+ "audio": "src/lib/hubs.ts L16-27 (no split mode)",+ "videoTools": "hubs.ts L28-37 (no sound tools)",+ "tools": "src/components/studio/mode-switch-studio.tsx L56-67",+ "audioToolsApi": "src/server/audio-tools.ts L24 (loop | join), /api/audio-tools ?preview=1"+ },+ "soundPutBack": {+ "shorts": "src/lib/catalog/shorts.ts L694-764",+ "mixedMedia": "mixed-media.ts L709-747, L869-878",+ "swapStudio": "swap-studio-plan.ts L540-549",+ "genjutsu": "genjutsu.ts L1034",+ "removeObject": "remove-object.ts L632",+ "faceless": "faceless.ts L572-626 (generated bed)"+ },+ "canvas": "one OUT handle (canvas.ts L457); OP_PORTS separate-audio audio|video (L501)",+ "assist": "src/server/assist/tools.ts L93, L254-260 (background_audio = the background stem from separate-audio)",+ "eval": "no separation or dub cases; no separation metric",+ "outputActions": "src/lib/output-actions.ts L105-131, NEXT_STEPS L165-166",+ "mediaProbe": "src/lib/media-probe.ts reads hasAudio and duration, not channels (L22, L152-163)"+ },+ "comparison": [+ {+ "job": "dialogue / music / effects (3 stems)",+ "todayOpen": "none",+ "todayCloud": "none",+ "dbsOpen": "DBS, one job, 23 MB, CPU or GPU",+ "cloud": "SAM Audio x2, $0.20-0.40/min"+ },+ {+ "job": "voice vs music-and-effects (dub, remove dialogue)",+ "todayOpen": "MelBand RoFormer (vocals model; singing goes with the voice)",+ "todayCloud": "ElevenLabs isolation + extract + Demucs",+ "dbsOpen": "DBS: singing stays in music, effects stay in the bed",+ "cloud": "SAM Audio 'speech' (target + residual in one call)"+ },+ {+ "job": "music stems (drums, bass...)",+ "todayOpen": "none",+ "todayCloud": "Demucs",+ "dbsOpen": "not DBS's job",+ "cloud": "Demucs"+ },+ {+ "job": "clean up speech (noise, hiss)",+ "todayOpen": "none",+ "todayCloud": "ElevenLabs isolation",+ "dbsOpen": "removes music and effects; steady noise unmeasured",+ "cloud": "veed/clean-audio, DeepFilterNet 3, ElevenLabs isolation"+ },+ {+ "job": "weights / price",+ "todayOpen": "MelBand 0.46 GB",+ "todayCloud": "$0.042-0.10/min",+ "dbsOpen": "4.1 MB or 18.9 MB",+ "cloud": "$0.10-0.40/min"+ }+ ],+ "placements": [+ {+ "where": "Audio hub -> Split soundtrack (/audio/split): src/lib/hubs.ts, TOOLS.audio.split (mode-switch-studio.tsx L56), src/lib/av/split.ts, AudioToolBody 'split' (src/server/audio-tools.ts L24), /api/audio-tools, chips in src/lib/output-actions.ts",+ "userStory": "drop a song, podcast, film clip or video; get Dialogue, Music, Effects and Music & effects tiles with play, solo, mute, level, download; presets; free live mixer; export; put back on the video",+ "openEngine": "separate-soundtrack-dbs on oss-dbs-separate",+ "cloudEngine": "sam-audio-separate x2 (speech, then music on the residual); Demucs fallback as Voice / Background",+ "why": "the exact ask; nothing like it in Fuobe",+ "priority": "P0",+ "package": "D1-split-soundtrack"+ },+ {+ "where": "Video tools -> Remove dialogue (/video-tools/remove-dialogue): hubs.ts L28-37, TOOLS['video-tools'], chips on video results",+ "userStory": "No dialogue / Dialogue only / Lower the music on a video; picture stream-copied; removed stem downloadable",+ "openEngine": "separate-soundtrack-dbs -> mux (video-mux-audio-replace or video-mux-audio)",+ "cloudEngine": "extract-soundtrack -> sam-audio-separate 'speech' -> merge-audio-video (loudnorm + compose for Lower)",+ "why": "re-voicing, B-roll beds, posting without speech",+ "priority": "P0",+ "package": "D2-remove-dialogue"+ },+ {+ "where": "Translate & dub: src/lib/av/dub.ts DUB_STEP_MODELS and prepareSteps; new workflow dub-prepare-dbs-transcribe; src/components/dub/dub-studio.tsx",+ "userStory": "the dub keeps the original score and effects; only the voice changes",+ "openEngine": "dub-prepare-dbs-transcribe (oss-dbs-voice-separate) as a choice next to MelBand",+ "cloudEngine": "one sam-audio-separate 'speech' call replaces extract + Demucs; Demucs stays fallback",+ "why": "today's open split is a vocals model; the cloud split scatters effects and takes singing with the dialogue",+ "priority": "P0",+ "package": "D3-dub-keeps-score"+ },+ {+ "where": "scripts/eval: separation metrics and cases",+ "userStory": "defaults chosen with numbers",+ "openEngine": "DBS-TIGER vs DBS-BSRNN, mono vs fast stereo vs each channel, DBS vs MelBand",+ "cloudEngine": "SAM Audio vs Demucs",+ "why": "every default above is a guess today",+ "priority": "P1",+ "package": "D4-separation-eval"+ },+ {+ "where": "Clean up dialogue: a Split preset + chips on audio and video results",+ "userStory": "clear speech from a noisy or musical recording",+ "openEngine": "DBS voice (+ bed at -18 dB via soundtrack-remix-dbs or the mixer); no open denoiser",+ "cloudEngine": "veed/clean-audio, fal-ai/deepfilternet3, ElevenLabs isolation",+ "why": "the owner's 'cleaning up audio'",+ "priority": "P1",+ "package": "D5-clean-dialogue"+ },+ {+ "where": "Transcribe (studios.ts L259), Captions, Lipsync (studios.ts L94), Genjutsu transcribe route, Swap Studio transcript (swap-studio.ts L713)",+ "userStory": "'Clean the voice first' for tighter transcripts and lip sync; the bed goes back after lipsync",+ "openEngine": "DBS voice before Qwen3-ASR / InfiniteTalk / LatentSync; video-mux-audio after",+ "cloudEngine": "ElevenLabs isolation; SAM residual to put the bed back",+ "why": "music under speech hurts ASR and lip sync",+ "priority": "P1",+ "package": "D6-voice-first"+ },+ {+ "where": "Shorts, Mixed Media, Genjutsu, Remove object, Character Swap Studio (sound put-back), Faceless (bed)",+ "userStory": "Original sound: Everything / Music & effects only / Dialogue only / Lower the music; a clip's soundtrack as Faceless's bed",+ "openEngine": "DBS before the existing stream-copy mux; Faceless bed via oss-audio-loop",+ "cloudEngine": "SAM 'speech' before compose + merge; visual-separate with the studio's SAM mask to remove one person's voice (cloud only)",+ "why": "a swapped or removed person's speech should usually go too",+ "priority": "P1",+ "package": "D7-original-sound"+ },+ {+ "where": "Canvas: a Split soundtrack node (canvas.ts L44-62, PALETTE L259+, OUT L457; components/canvas/nodes.tsx)",+ "userStory": "Dialogue, Music, Effects, Music & effects handles wired into other nodes",+ "openEngine": "oss-dbs-separate",+ "cloudEngine": "sam-audio-separate / demucs (unfillable handles disabled with a reason)",+ "why": "stems as building blocks",+ "priority": "P1",+ "package": "D8-canvas-split-node"+ },+ {+ "where": "Assist and MCP: src/server/assist/studio-tools.ts, tools.ts L93/L254-260, src/server/mcp.ts",+ "userStory": "'Remove the dialogue from this video', 'just the music', 'dub this but keep the score'",+ "openEngine": "split_soundtrack / remove_dialogue on oss-dbs-separate (+ soundtrack-remix-dbs)",+ "cloudEngine": "same tools on SAM / Demucs, priced first",+ "why": "one sentence does it",+ "priority": "P1",+ "package": "D9-assist-mcp-split"+ },+ {+ "where": "On this device (beta) in Split soundtrack; demo mode",+ "userStory": "split a short clip in the browser with nothing installed and no key",+ "openEngine": "ONNX + onnxruntime-web (unverified)",+ "cloudEngine": "n/a (falls back to the cloud)",+ "why": "no ComfyUI, no key",+ "priority": "P2",+ "package": "D10-on-device-split"+ }+ ],+ "plan": {+ "order": [+ "D1-split-soundtrack",+ "D2-remove-dialogue",+ "D3-dub-keeps-score",+ "D4-separation-eval",+ "D5-clean-dialogue",+ "D6-voice-first",+ "D7-original-sound",+ "D8-canvas-split-node",+ "D9-assist-mcp-split",+ "D10-on-device-split"+ ],+ "common": "both engines where a route exists and an honest note where not; prices before running; tests; browser check at 1440 and 390 px in light and dark with no horizontal scroll; pnpm typecheck, pnpm lint, targeted tests, full vitest; a commit per step",+ "packages": [+ {+ "key": "D1-split-soundtrack",+ "title": "Split soundtrack in the Audio hub: dialogue, music and effects on both engines (and the DBS ground)",+ "priority": "P0",+ "dependsOn": [],+ "effort": "large",+ "brief": "GOAL. Give Fuobe a Split soundtrack tool in the Audio hub that turns any audio or video into Dialogue, Music, Effects and Music & effects stems on both engines, with a free live mixer, and lay the DBS ground every later package uses. Read docs/research/dbs-separation-7.md \u00a71-\u00a74, \u00a76, \u00a78 and \u00a79 D1 first.\n\nGROUND, OPEN ENGINE. (1) Pin the pack: add [ComfyUI-DBS]=\"https://github.com/hiroki-abe-58/ComfyUI-DBS f656e53434b5485c148a2866fbd6ddc6b6152ed6\" to NODES in scripts/comfy/install-comfyui.sh (L15-34) with a comment that the Comfy Registry flags 0.1.0 (reason not public) and the code was read at this commit (\u00a74.2). No extra Python packages (einops and safetensors are already installed). Add an opt-out block (DBS_WEIGHTS=0 skips it) that downloads config.json and model.safetensors of JusperLee/DBS-BSRNN-DnR @ 5af343f57f106fbb95efe8a60f1a3999eeb0aef8 and JusperLee/DBS-TIGER-DnR @ 22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b into models/dbs/<name>/ and checks them with sha256sum -c against \u00a73.1. (2) Library tooling (\u00a74.5): KNOWN_MODELS entries keyed 'DBS-BSRNN-DnR/model.safetensors', 'DBS-BSRNN-DnR/config.json', 'DBS-TIGER-DnR/model.safetensors', 'DBS-TIGER-DnR/config.json' with folder 'dbs' and the pinned resolve URLs; a new spec field requiredModels handled in scripts/comfy/build-library.mjs beside the optionalModels loop (L335-346); the TIGER pair in optionalModels; packs: ['ComfyUI-DBS'] with PACK_CLASSES['ComfyUI-DBS'] = /^DBS(Loader|Separate)$/ (library.spec.mjs L140-143) and CUSTOM_NODE_REPOS (L110-136); new binding keys separationModel and channels in BINDING_KEYS (build-library.mjs L96ff) and the spec header. Presence then works as is: with the pack loaded, GET /models/dbs lists 'DBS-BSRNN-DnR/model.safetensors' etc., which /api/comfyui matches by file string. (3) Graph A separate-soundtrack-dbs exactly as \u00a74.4 (hand-built JSON in scripts/comfy/hand-built/: LoadAudio -> DBSLoader -> DBSSeparate with output_sample_rate 'input' -> AudioMerge(original, speech, subtract) -> four SaveAudioAdvanced flac + PreviewAny report), outputs in order voice, music, effects, background, report; vramGb 0 with the note 'CPU OK, about 1.7 GiB on CUDA'; license text 'DBS weights Apache-2.0 (JusperLee; trained on DnR v2, CC BY 4.0); ComfyUI-DBS code MIT; vendored DBS code Apache-2.0 with MIT notices (BS-RoFormer, MSST, TIGER)'. Build it with npm run build -- separate-soundtrack-dbs in scripts/comfy so workflows/comfyui/manifest.json gets the entry. (4) ModelDef oss-dbs-separate in src/lib/catalog/models.ts next to oss-voice-separate (L1113): name 'DBS (dialogue, music, effects)', kind audio, tagline 'Splits a soundtrack into dialogue, music and effects \u00b7 23 MB \u00b7 CPU or GPU \u00b7 Apache-2.0', route comfy('separate-audio', 'separate-soundtrack-dbs', ...), options for the model (fast/best) and stereo stems. Map params to the bindings in src/server/providers/comfyui.ts: DBS-BSRNN-DnR unless GET /system_stats devices[0].type is 'cuda' (Fuobe already reads devices[0] at comfyui.ts L1530; ComfyUI server.py L783-796); 'mono' unless the user asks for stereo stems; 'each channel' for inputs with more than 2 channels (\u00a74.4). (5) Stems: STEM_ALIASES (src/server/generations.ts L764) gains music: ['music'] and effects: ['effects','sfx']; STEM_ORDER (src/lib/catalog/payload.ts L822) gains 'music','sfx','effects' after the voice names; update the 'separate-audio' comment (src/lib/catalog/types.ts L59). Demo: src/server/providers/mock.ts L287-297 returns voice, music, effects and background demo WAVs (meta.stem) for oss-dbs-separate and for the cloud split. (6) Licences: a NODE_PACKS row pack('ComfyUI-DBS', 'https://github.com/hiroki-abe-58/ComfyUI-DBS/tree/f656e53434b5485c148a2866fbd6ddc6b6152ed6', { name: 'MIT', class: 'commercial', note: 'Dialogue / music / effects separation; MIT code, vendored DBS code Apache-2.0 with MIT notices; the DBS weights are Apache-2.0, trained on DnR v2 (CC BY 4.0)' }) in src/lib/licences.ts (~L406); the workflow license text gives the model rows; About & licences shows the DnR v2 CC BY 4.0 attribution (Petermann, Wichern, Wang, Le Roux) and the three MIT notices (\u00a73.2).\n\nGROUND, CLOUD ENGINE. Add sam-audio-separate through scripts/gen-cloud-models.py from the research row (paid-model-apis-3.json; fal-ai/sam-audio/separate; fields audio_url, prompt, acceleration, output_format 'wav'; pricing $0.05 per 30 s of output audio with a note that fal may bill the target and the residual both) and regenerate (pnpm gen:catalog). stemOutputs already tags target/residual and STEM_ALIASES maps them to voice/background.\n\nTOOL. {id: 'split', label: 'Split soundtrack'} in HUB_MODES.audio (src/lib/hubs.ts, after Transcribe; route /audio/split), TOOLS.audio.split in src/components/studio/mode-switch-studio.tsx (L56), a pure planner src/lib/av/split.ts (plans per engine, prices, labels, presets, mixer maths), a 'split' variant of AudioToolBody (src/server/audio-tools.ts L24) behind /api/audio-tools (?preview=1 plans and prices; one createPipeline batch so results land in the Library), and a component in src/components/audio-tools/. Open: one job on oss-dbs-separate. Cloud 'Dialogue, music, effects': SAM pass 1 prompt 'speech' (a video goes through extract-soundtrack first), then pass 2 prompt 'music' on pass 1's background (residual) stem; the planner labels pass 2's target Music and its residual Effects. Cloud 'Dialogue and the rest': pass 1 only. Cloud 'Demucs (music model)': demucs, labelled Voice / Background. Prices: SAM $0.05 x ceil(seconds/30) per pass, shown as a range up to 2x until a real bill settles the residual question (\u00a76); Demucs $0.0007/s.\n\nUI. Drop or pick audio or video (Library, ?audio= / ?video=); engine switch; open options 'Fast (DBS-BSRNN)' / 'Best (DBS-TIGER)' with the host's pick preselected and 'Stereo stems (takes about twice as long)'; a time estimate on the open engine (start from \u00a72.4's guess, replace it with the measurement below) and a price on the cloud. Result: four stem tiles (Dialogue, Music, Effects, Music & effects) with waveform, play, solo, mute, level -24...+6 dB and Download (the stems are already Library outputs); presets No dialogue, Dialogue only, Music only, Music under dialogue (-12 dB); a live WebAudio mixer (free, no job); Export mix (OfflineAudioContext -> WAV -> upload -> Library); for a video source 'Put back on the video' (open: the mux op -> video-mux-audio-replace, picture stream-copied; cloud: merge-audio-video). A 'Split soundtrack' chip on audio and video results (src/lib/output-actions.ts L105-131, NEXT_STEPS L165-166). Plain copy about limits: 'Dialogue comes out clean; music and effects can bleed into each other.' Honest cloud note: there is no hosted DBS; the cloud uses SAM Audio.\n\nTESTS. tests/split-soundtrack.test.ts (plans per engine and option, chains and stems, prices incl. the SAM range, presets and dB-to-gain maths, the >2-channel rule); tests/comfy-dbs.test.ts (manifest entry: bindings 1.audio / 2.model / 3.channels, output order and stems, requiredModels/optionalModels with folder dbs, file paths, pinned URLs and sizes, customNodes pin f656e53, the install-comfyui.sh pin and the weights block's hashes); extend the generations/outputs tests for the music/effects/sfx aliases and STEM_ORDER; mock stems; the licences row; a cloud-catalog test for sam-audio-separate's payload. Then pnpm typecheck, pnpm lint, the targeted tests and the full vitest run.\n\nBROWSER. pnpm dev in demo mode, then with the open engine pointed at the isolated worker: /audio/split at 1440 px and 390 px, light and dark. Tiles stack on phones, sliders are full width, no horizontal scroll, labelled controls reachable by keyboard, the mixer plays, Export lands in the Library, 'Put back on the video' gives a video.\n\nVERIFY HERE. The shared CPU ComfyUI at 127.0.0.1:8188 is the validation server: it does not have ComfyUI-DBS and must not get it. DBS is tiny (23 MB of weights) and runs on a CPU, so set the pack up on an isolated worker (the scripts/comfy/install-isolated-worker.sh pattern with its own ISO_DIR, port and venv; the pack pinned at f656e53434b5485c148a2866fbd6ddc6b6152ed6; the four weight files of doc \u00a73.1 downloaded at their pinned revisions and checked with sha256sum) and validate there with COMFYUI_URL=http://127.0.0.1:<port> node scripts/comfy/validate-workflows.mjs <ids>, then run real CPU separations of short clips (10-30 s). Run both models, mono and each channel; write the measured speed into the doc's \u00a72.4 and the tool's time estimate. Not verifiable here: GPU timing, paid SAM Audio and Demucs calls (test payloads against the research schema; prices from \u00a76), quality on real films.\n\nLICENCES (information, nothing gated; every row starts on). DBS weights Apache-2.0; ComfyUI-DBS MIT; vendored DBS code Apache-2.0 with MIT notices; DnR v2 CC BY 4.0; SAM Audio (hosted, paid API) weights under Meta's SAM License; Demucs MIT."+ },+ {+ "key": "D2-remove-dialogue",+ "title": "Remove dialogue for videos in Video tools (No dialogue / Dialogue only / Lower the music), picture stream-copied",+ "priority": "P0",+ "dependsOn": [+ "D1-split-soundtrack"+ ],+ "effort": "small",+ "brief": "GOAL. A Remove dialogue tool for videos in the Video tools hub, on both engines, with the picture untouched. Builds on D1 (graph A, oss-dbs-separate, sam-audio-separate, the stem aliases). Read docs/research/dbs-separation-7.md \u00a72.1 (the exact sum and the fast stereo bed), \u00a74.3 (why the pack's video graph must not be copied), \u00a74.4 ('Video jobs need no new graph'), \u00a76, \u00a78 and \u00a79 D2.\n\nPLACEMENT. {id: 'remove-dialogue', label: 'Remove dialogue'} in HUB_MODES['video-tools'] (src/lib/hubs.ts L28-37; route /video-tools/remove-dialogue) and TOOLS['video-tools'] in src/components/studio/mode-switch-studio.tsx (L56-67); a 'Remove dialogue' chip on video results (src/lib/output-actions.ts L105-124, NEXT_STEPS L165); hand-offs by ?video= from the Genjutsu and Video tools result menus.\n\nOUTCOMES. No dialogue (default: music and effects), Dialogue only, Lower the music (slider -30...0 dB, default -12). The removed stem stays as a second output to download.\n\nOPEN ENGINE. Step 1 oss-dbs-separate (graph A, mono; LoadAudio reads the video's soundtrack, comfyui.ts L864). Step 2 the existing mux op: No dialogue -> video-mux-audio-replace with chain stem 'background'; Dialogue only -> the same with stem 'voice'; Lower -> video-mux-audio with audio = voice, audio2 = background and backgroundVolumeDb (scripts/comfy/library.spec.mjs L2400-2428; the provider already picks between the two graphs). Concatenate Video with complete_audio copies the picture packets. More than 2 channels: 'each channel' (\u00a74.4).\n\nCLOUD ENGINE. extract-soundtrack (fal-ai/workflow-utilities/extract-audio) -> sam-audio-separate prompt 'speech' (one pass; residual = music & effects) -> merge-audio-video (fal-ai/ffmpeg-api/merge-audio-video) with the residual (No dialogue) or the target (Dialogue only). Lower -> ffmpeg-loudnorm in linear mode on the residual (linearGain only lowers, src/lib/av/dub.ts L61-70) -> compose the voice and the lowered bed as the cloud dub does -> merge. Price: SAM $0.05 x ceil(s/30), shown as a range up to 2x, plus the utilities' per-second prices. Whether fal's merge re-encodes the picture is unverified: say so in the step note.\n\nPLANNER AND SERVER. src/lib/av/remove-dialogue.ts (or an export of src/lib/av/split.ts): plans per engine and outcome, prices, blockers ('This clip has no sound' from src/lib/media-probe.ts hasAudio; over 30 minutes). Serve it as tool 'remove-dialogue' on /api/audio-tools or a small endpoint following Remove object's pattern; one createPipeline batch so the result lands in the Library.\n\nUI. Video drop/pick, outcome segmented control, the Lower slider, engine switch, price or time line, before/after players, the removed stem as a download. Copy: 'Takes the talking out and keeps the music and sound effects. The picture is not re-encoded.' Honest note: speech the model misses stays in the bed (\u00a72.1).\n\nTESTS. tests/remove-dialogue.test.ts: plans per engine and outcome, chain stems (background/voice), mux graph choice (replace vs mix), prices, blockers; a provider binding test that a video URL is bound to LoadAudio for the oss-dbs-separate step. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. /video-tools/remove-dialogue at 1440 px and 390 px, light and dark, in demo mode and with the isolated worker: players fit, no horizontal scroll, controls labelled.\n\nVERIFY HERE. The shared CPU ComfyUI at 127.0.0.1:8188 is the validation server: it does not have ComfyUI-DBS and must not get it. DBS is tiny (23 MB of weights) and runs on a CPU, so set the pack up on an isolated worker (the scripts/comfy/install-isolated-worker.sh pattern with its own ISO_DIR, port and venv; the pack pinned at f656e53434b5485c148a2866fbd6ddc6b6152ed6; the four weight files of doc \u00a73.1 downloaded at their pinned revisions and checked with sha256sum) and validate there with COMFYUI_URL=http://127.0.0.1:<port> node scripts/comfy/validate-workflows.mjs <ids>, then run real CPU separations of short clips (10-30 s). Check that the result's video stream is byte-identical to the source's (ffprobe / packet hashes) and that voice + bed add back to the source. Not verifiable: paid fal calls, GPU timing.\n\nLICENCES (information). As D1; SAM Audio (hosted) weights under Meta's SAM License."+ },+ {+ "key": "D3-dub-keeps-score",+ "title": "Translate & dub keeps the original music and effects: DBS on the open engine, one SAM Audio pass in the cloud",+ "priority": "P0",+ "dependsOn": [+ "D1-split-soundtrack"+ ],+ "effort": "medium",+ "brief": "GOAL. Dubs keep the original score and sound effects where they were; only the voice changes. Both engines. Builds on D1. Read docs/research/dbs-separation-7.md \u00a74.4 (graph B), \u00a76, \u00a77.1 (Translate & dub today), \u00a78 and \u00a79 D3.\n\nOPEN ENGINE. Hand-build graph B dub-prepare-dbs-transcribe (scripts/comfy/hand-built/; spec entry next to dub-prepare-separate-transcribe at scripts/comfy/library.spec.mjs L2239-2262) with the same output contract: stems voice and background, text cues, transcript and language. Copy the Qwen3-ASR node from node 7 of the existing graph with its bindings (sourceLanguage, asrModel, hints, maxChars) and add separationModel. vramGb stays 8 (Qwen3-ASR is still in the graph) with the existing autoDownloads note; license text 'DBS weights Apache-2.0 (trained on DnR v2, CC BY 4.0); Qwen3-ASR / ForcedAligner Apache-2.0; ComfyUI-QwenASR GPL-3.0; ComfyUI-DBS MIT'. ModelDef oss-dbs-voice-separate 'DBS + Qwen3-ASR' beside oss-voice-separate (src/lib/catalog/models.ts L1113-1124). In src/lib/av/dub.ts make DUB_STEP_MODELS.open.stems selectable with a 'Voice split' setting ('DBS: keeps music and effects, CPU-friendly' / 'MelBand RoFormer'); keep MelBand as the default until D4's A/B says otherwise. Assist's open dub (src/server/assist/studio-tools.ts L234) takes the same setting.\n\nCLOUD ENGINE. In prepareSteps (src/lib/av/dub.ts L116, cloud branch L144-158) replace 'sound' (extract-soundtrack) + 'background' (Demucs: three beds and three loudnorm steps) with 'sound' + one sam-audio-separate step, prompt 'speech'. Its residual is the single bed: one ffmpeg-loudnorm at BACKGROUND_DB (-3), one compose track. Keep ElevenLabs isolation for the clone voice. Keep Demucs as the fallback when SAM fails and the voice-only fallback (OPTIONAL_PREPARE, L157). Put it behind a 'Background split: SAM Audio / Demucs' setting so the default can flip after D4.\n\nPRICES. SAM about $0.10-0.20 per minute against Demucs about $0.042 per minute plus two extra loudnorm steps; the Dub studio price line shows the chosen one.\n\nUI. src/components/dub/dub-studio.tsx: the two settings, copy 'Keeps the music and sound effects of the original', and with Demucs a short note 'Music model: some sound effects may be lowered, and singing may be replaced'.\n\nTESTS. Extend the dub tests: prepareSteps per engine and setting (one bed with SAM, three with Demucs), fallback order, prices; a library test for graph B (same outputs and bindings as dub-prepare-separate-transcribe); mock: separate-audio on oss-dbs-voice-separate returns voice, background and cues. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. /audio/translate at 1440 px and 390 px, light and dark, demo mode: the settings, the price line and the copy; no horizontal scroll.\n\nVERIFY HERE. The shared CPU ComfyUI at 127.0.0.1:8188 is the validation server: it does not have ComfyUI-DBS and must not get it. DBS is tiny (23 MB of weights) and runs on a CPU, so set the pack up on an isolated worker (the scripts/comfy/install-isolated-worker.sh pattern with its own ISO_DIR, port and venv; the pack pinned at f656e53434b5485c148a2866fbd6ddc6b6152ed6; the four weight files of doc \u00a73.1 downloaded at their pinned revisions and checked with sha256sum) and validate there with COMFYUI_URL=http://127.0.0.1:<port> node scripts/comfy/validate-workflows.mjs <ids>, then run real CPU separations of short clips (10-30 s). Graph B's DBS half runs on CPU; Qwen3-ASR 1.7B downloads about 5.9 GB on first run and is slow on CPU, so smoke-test a short clip, or with asrModel set to the 0.6B model. Not verifiable: paid SAM, ElevenLabs and Scribe calls, GPU timing, dub quality without listening.\n\nLICENCES (information). DBS Apache-2.0; Qwen3-ASR Apache-2.0; ComfyUI-QwenASR GPL-3.0; SAM Audio (hosted) under Meta's SAM License; Demucs MIT; ElevenLabs proprietary."+ },+ {+ "key": "D4-separation-eval",+ "title": "Separation evaluation in scripts/eval: SI-SDR, ASR WER, bed level and stereo, speed on this host, blind A/B",+ "priority": "P1",+ "dependsOn": [+ "D1-split-soundtrack"+ ],+ "effort": "medium",+ "brief": "GOAL. Choose defaults with numbers: DBS-TIGER vs DBS-BSRNN, mono vs fast stereo bed vs each channel, DBS vs MelBand RoFormer for the dub voice, SAM Audio vs Demucs in the cloud, and the real speed on this host. Builds on D1 (and D3 for the dub cases). Read docs/research/dbs-separation-7.md \u00a72.1 (fast stereo bed, AudioMerge peak scaling), \u00a72.3-\u00a72.4, \u00a75 item 3, \u00a77.2 and \u00a711.\n\nMETRICS. In scripts/eval/metrics/fuobe_metrics (the uv venv already has torch 2.14.1+cpu and safetensors 0.8.0; pin any addition in requirements.in/.txt): SI-SDR and SDR per stem against known references; mixture consistency (sum of stems vs input); level and peak of the bed vs the reference (catches AudioMerge's peak scaling); ASR WER of the voice stem against the known text (through the harness's open ASR, or a small pinned model); a stereo check for the fast bed (left/right correlation and level against the reference bed). Pytest on synthetic fixtures.\n\nTEST MATERIAL. Synthetic mixes Fuobe may use, with known stems: speech from Fuobe's own TTS (open Chatterbox or the demo voice), music and effects from Fuobe's open models (Stable Audio 3 SFX, a music model) or CC0 sources with their licences recorded; mixed at known levels; stereo with centre-panned and off-centre dialogue; one or two with steady noise (hum, hiss) to answer \u00a711's 'where does noise go'. Real clips only for the blind A/B page.\n\nCASES. A new suite scripts/eval/cases/separation.json (gen-cases.mjs, case.schema.json): open oss-dbs-separate (TIGER, BSRNN; mono, each channel), oss-voice-separate (voice/background only), and with D3 oss-dbs-voice-separate; cloud sam-audio-separate (1 and 2 passes) and demucs. Record speed per case (times real time from the DBS report output).\n\nREPORT. The existing report and blind A/B review page; write the measured speed into the doc's \u00a72.4 and the chosen defaults (model per host, stereo mode, dub voice split, cloud background split) into D1's and D3's settings, with a short note in the doc.\n\nTESTS. pytest for the new metrics (known SI-SDR on constructed signals, WER on fixed strings), the case generator test, pnpm eval:validate.\n\nBROWSER. The report and A/B page at 1440 px and 390 px, light and dark.\n\nVERIFY HERE. The shared CPU ComfyUI at 127.0.0.1:8188 is the validation server: it does not have ComfyUI-DBS and must not get it. DBS is tiny (23 MB of weights) and runs on a CPU, so set the pack up on an isolated worker (the scripts/comfy/install-isolated-worker.sh pattern with its own ISO_DIR, port and venv; the pack pinned at f656e53434b5485c148a2866fbd6ddc6b6152ed6; the four weight files of doc \u00a73.1 downloaded at their pinned revisions and checked with sha256sum) and validate there with COMFYUI_URL=http://127.0.0.1:<port> node scripts/comfy/validate-workflows.mjs <ids>, then run real CPU separations of short clips (10-30 s). The open cases run for real on that worker; cloud cases are dry runs without a key and a budget (the harness's spend cap); no paid call by default.\n\nLICENCES (information). Record the licence of every fixture source in the case files; DBS Apache-2.0; MelBand RoFormer MIT."+ },+ {+ "key": "D5-clean-dialogue",+ "title": "Clean up dialogue: DBS voice with an optional quiet bed on the open engine, VEED / DeepFilterNet / ElevenLabs in the cloud",+ "priority": "P1",+ "dependsOn": [+ "D1-split-soundtrack"+ ],+ "effort": "small",+ "brief": "GOAL. 'Clean up dialogue' (the owner's 'cleaning up audio'): make the speech in a noisy or musical recording clear, on audio and video. Builds on D1 (and D2 for video). Read docs/research/dbs-separation-7.md \u00a72.5, \u00a74.4 (graph C), \u00a76 (veed/clean-audio, fal-ai/deepfilternet3, ElevenLabs isolation), \u00a77.2, \u00a78, \u00a79 D5 and \u00a711 (steady noise unmeasured).\n\nPLACEMENT. A 'Clean dialogue' preset in Split soundtrack (D1) that opens on the Dialogue tile with the bed at -18 dB; a 'Clean up dialogue' chip on audio and video results (src/lib/output-actions.ts) that opens it. For videos the result goes back on the picture with D2's stream-copy mux.\n\nOPEN ENGINE. The DBS voice stem (graph A), optionally the bed mixed back at a chosen level: graph C soundtrack-remix-dbs (\u00a74.4: AudioAdjustVolume x3 with bindings voiceDb, musicDb, effectsDb, added to BINDING_KEYS; AudioMerge add x2; SaveAudioAdvanced) or the browser mixer. Honest: Fuobe's research has no open denoiser, so the open route removes music and effects but not steady hiss or hum (unmeasured, \u00a711). Copy: 'Removes music and sound effects. For hiss and hum, use the cloud cleaner.'\n\nCLOUD ENGINE. Add veed/clean-audio (research row paid-model-apis-3.md L370: audio_url, strength; $0.0125 per minute, rounded up, 1-minute minimum; 48 kHz, loudness-normalized; up to 30 min; takes video) and fal-ai/deepfilternet3 ($0.001/s; write its research record first, with fetch-hosted-schemas.py or by hand in the research JSON, then gen-cloud-models.py). Choices: 'Clean (VEED)', 'Denoise (DeepFilterNet 3)', 'Voice only (ElevenLabs isolation, $0.10/min, already in the catalog)'. A bed under the cleaned voice in the cloud: SAM 'speech' residual + loudnorm (lower only) + compose, as D2's Lower.\n\nTESTS. Plans per engine and choice; prices (VEED minute rounding and minimum; DeepFilterNet per second); graph C bindings and outputs; cloud payloads against the research schemas. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. The preset in /audio/split and the chips, at 1440 px and 390 px, light and dark, no horizontal scroll.\n\nVERIFY HERE. The shared CPU ComfyUI at 127.0.0.1:8188 is the validation server: it does not have ComfyUI-DBS and must not get it. DBS is tiny (23 MB of weights) and runs on a CPU, so set the pack up on an isolated worker (the scripts/comfy/install-isolated-worker.sh pattern with its own ISO_DIR, port and venv; the pack pinned at f656e53434b5485c148a2866fbd6ddc6b6152ed6; the four weight files of doc \u00a73.1 downloaded at their pinned revisions and checked with sha256sum) and validate there with COMFYUI_URL=http://127.0.0.1:<port> node scripts/comfy/validate-workflows.mjs <ids>, then run real CPU separations of short clips (10-30 s). Run speech-with-music and speech-with-hum clips to describe honestly what the open route removes. Not verifiable: paid VEED, DeepFilterNet and ElevenLabs calls.\n\nLICENCES (information). veed/clean-audio and ElevenLabs proprietary (paid APIs); DeepFilterNet's licence recorded when its research record is written (not checked in this research); DBS Apache-2.0."+ },+ {+ "key": "D6-voice-first",+ "title": "Clean the voice first for Transcribe, Captions and Lipsync, and put the music and effects back after lipsync",+ "priority": "P1",+ "dependsOn": [+ "D1-split-soundtrack"+ ],+ "effort": "small",+ "brief": "GOAL. A 'Clean the voice first' switch wherever speech feeds a model: tighter transcripts and lip sync, and after lipsync the original music and effects go back under the new mouth movement. Builds on D1. Read docs/research/dbs-separation-7.md \u00a74.4 (graph A; stems voice/background), \u00a77.1, \u00a78 and \u00a79 D6.\n\nPLACEMENTS. Transcribe (TRANSCRIBE_STUDIO, src/lib/studios.ts L259); Captions (Video tools, CaptionsStudio); Lipsync & avatars (LIPSYNC_STUDIO, studios.ts L94); Genjutsu transcribe (src/app/api/genjutsu/transcribe/route.ts); the Character Swap Studio transcript (src/server/swap-studio.ts L713).\n\nOPEN ENGINE. A chain step oss-dbs-separate before oss-qwen3-asr, InfiniteTalk or LatentSync with ChainSlot stem 'voice' (STEM_ALIASES resolves it, src/server/generations.ts L764-789). Lipsync on a video: after the lip re-sync, video-mux-audio with audio = the voice (or the new audio) and audio2 = the background stem at 0 dB.\n\nCLOUD ENGINE. elevenlabs-voice-isolation (in the catalog, $0.10/min) before scribe-v2 or the lipsync model; when the bed must go back, sam-audio-separate 'speech' residual + compose + merge-audio-video.\n\nDEFAULTS. On for video sources, off for audio-only speech uploads (a guess until D4 measures WER with and without). The switch shows its added time (open) or price (cloud).\n\nTESTS. Plans with and without the switch per engine and studio; chain stems; the put-back step after lipsync; prices. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. The Transcribe, Captions and Lipsync composers at 1440 px and 390 px, light and dark: the switch, its hint and its time/price line; no layout shift; no horizontal scroll.\n\nVERIFY HERE. The shared CPU ComfyUI at 127.0.0.1:8188 is the validation server: it does not have ComfyUI-DBS and must not get it. DBS is tiny (23 MB of weights) and runs on a CPU, so set the pack up on an isolated worker (the scripts/comfy/install-isolated-worker.sh pattern with its own ISO_DIR, port and venv; the pack pinned at f656e53434b5485c148a2866fbd6ddc6b6152ed6; the four weight files of doc \u00a73.1 downloaded at their pinned revisions and checked with sha256sum) and validate there with COMFYUI_URL=http://127.0.0.1:<port> node scripts/comfy/validate-workflows.mjs <ids>, then run real CPU separations of short clips (10-30 s). Run DBS -> captions on a short clip with music (use the 0.6B ASR to keep the download small). Not verifiable: paid calls, GPU lipsync.\n\nLICENCES (information). As D1; ElevenLabs proprietary (paid API)."+ },+ {+ "key": "D7-original-sound",+ "title": "An 'Original sound' choice in Shorts, Mixed Media, Genjutsu, Remove object and Character Swap Studio, and a clip's soundtrack as Faceless's bed",+ "priority": "P1",+ "dependsOn": [+ "D1-split-soundtrack",+ "D2-remove-dialogue"+ ],+ "effort": "medium",+ "brief": "GOAL. When a studio puts a clip's sound back, the user chooses what goes back: Everything (today), Music & effects only, Dialogue only, or Lower the music. Faceless can use a clip's soundtrack as its music bed. Builds on D1 and D2. Read docs/research/dbs-separation-7.md \u00a74.4 ('Video jobs need no new graph'), \u00a76 (visual-separate), \u00a77.1 (studios that put sound back), \u00a78 and \u00a79 D7.\n\nSPOTS. Shorts (src/lib/catalog/shorts.ts L694-764, L909-914); Mixed Media (src/lib/catalog/mixed-media.ts L709-747, L869-878); Genjutsu (src/lib/catalog/genjutsu.ts L1034, the put-back when the maker doesn't keep sound or there are several pieces); Remove object (src/lib/catalog/remove-object.ts L79, L632); Character Swap Studio (src/lib/catalog/swap-studio-plan.ts L540-549 'Put the clip's sound back'; UI src/components/swap-studio/stage-words.tsx); Faceless (src/lib/catalog/faceless.ts L572-626): 'Use a clip's soundtrack as the bed'.\n\nOPEN ENGINE. Graph A on the working clip (the trimmed source, not the result), then the existing stream-copy mux with the chosen stem (background, voice, or voice + background at backgroundVolumeDb). Faceless: background stem -> oss-audio-loop (audio-loop-crossfade) -> oss-mux at the existing -14 dB.\n\nCLOUD ENGINE. SAM 'speech' on the working clip's sound (extract first), then the existing compose + merge steps with the residual or the target. 'Remove only this person's voice' (Character Swap Studio, Remove object's person removal): fal-ai/sam-audio/visual-separate with the studio's SAM mask video (black = target); cloud only, because DBS removes all speech and the open engine has no per-person route, so the option is hidden there with a one-line reason.\n\nDEFAULTS. Everything (today's behaviour), except Remove object's person removal and Character Swap Studio, where the replaced person's speech is new: suggest 'Music & effects only' there.\n\nTESTS. Each studio's plan with each choice and engine; the 'Everything' path unchanged (regression); the visual-separate payload; the Faceless bed chain; prices. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. Each studio's setting at 1440 px and 390 px, light and dark; no horizontal scroll.\n\nVERIFY HERE. The shared CPU ComfyUI at 127.0.0.1:8188 is the validation server: it does not have ComfyUI-DBS and must not get it. DBS is tiny (23 MB of weights) and runs on a CPU, so set the pack up on an isolated worker (the scripts/comfy/install-isolated-worker.sh pattern with its own ISO_DIR, port and venv; the pack pinned at f656e53434b5485c148a2866fbd6ddc6b6152ed6; the four weight files of doc \u00a73.1 downloaded at their pinned revisions and checked with sha256sum) and validate there with COMFYUI_URL=http://127.0.0.1:<port> node scripts/comfy/validate-workflows.mjs <ids>, then run real CPU separations of short clips (10-30 s). Run the DBS step for a Shorts case and a Remove object case on short clips; the GPU-heavy steps cannot run here, so test their plans only. Not verifiable: paid fal calls, GPU video steps.\n\nLICENCES (information). As D1; SAM Audio (hosted) under Meta's SAM License."+ },+ {+ "key": "D8-canvas-split-node",+ "title": "Canvas Split soundtrack node with Dialogue, Music, Effects and Music & effects handles",+ "priority": "P1",+ "dependsOn": [+ "D1-split-soundtrack"+ ],+ "effort": "medium",+ "brief": "GOAL. A Split soundtrack node in Canvas whose four output handles wire stems into other nodes. Builds on D1. Read docs/research/dbs-separation-7.md \u00a74.4, \u00a77.1 (Canvas has one OUT handle), \u00a78 and \u00a79 D8.\n\nSPOTS. src/lib/catalog/canvas.ts (CanvasNodeType L44-62, PALETTE from L259, OUT L457, OP_PORTS 'separate-audio' L501), src/components/canvas/nodes.tsx and the canvas run planner. A new utility node 'split-soundtrack' with handles Dialogue, Music, Effects and Music & effects mapped to ChainSlot.stem voice / music / effects / background; an edge from a handle carries that stem into the next node's chain. Multi-handle output is new: keep OUT as an alias for Dialogue so saved boards keep working, and extend the board storage round trip.\n\nENGINES. Open: oss-dbs-separate (all four handles). Cloud: sam-audio-separate two passes (all four), one pass (Dialogue and Music & effects only), or demucs (Dialogue ~ vocals and Music & effects; Music and Effects disabled with the reason 'Demucs has no effects stem'), following paletteItems()' disabled-with-a-reason pattern.\n\nTESTS. Canvas lib tests (handles, edges with stems, storage round trip with old single-OUT boards), plan tests per engine, disabled handles. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. Canvas at 1440 px and 390 px, light and dark: the node, its four labelled handles, wiring Dialogue into Transcribe and Music & effects into a mux; no overflow.\n\nVERIFY HERE. The shared CPU ComfyUI at 127.0.0.1:8188 is the validation server: it does not have ComfyUI-DBS and must not get it. DBS is tiny (23 MB of weights) and runs on a CPU, so set the pack up on an isolated worker (the scripts/comfy/install-isolated-worker.sh pattern with its own ISO_DIR, port and venv; the pack pinned at f656e53434b5485c148a2866fbd6ddc6b6152ed6; the four weight files of doc \u00a73.1 downloaded at their pinned revisions and checked with sha256sum) and validate there with COMFYUI_URL=http://127.0.0.1:<port> node scripts/comfy/validate-workflows.mjs <ids>, then run real CPU separations of short clips (10-30 s). Run a small board whose DBS step is real; downstream GPU steps are plan-only. Not verifiable: paid calls.\n\nLICENCES (information). As D1."+ },+ {+ "key": "D9-assist-mcp-split",+ "title": "Assist and MCP tools: split_soundtrack and remove_dialogue, priced first",+ "priority": "P1",+ "dependsOn": [+ "D1-split-soundtrack",+ "D2-remove-dialogue"+ ],+ "effort": "small",+ "brief": "GOAL. Assist and MCP split a soundtrack or remove dialogue in one call, with the price or time first. Builds on D1 and D2. Read docs/research/dbs-separation-7.md \u00a74.4, \u00a78 and \u00a79 D9.\n\nSPOTS. src/server/assist/studio-tools.ts (new routes split_soundtrack and remove_dialogue next to the open dub at L230-245); src/server/assist/tools.ts (document the stems voice/music/effects/background on 'separate-audio' at L93 and the background_audio note at L254-260); exposed through src/server/mcp.ts; offline planner suggestions in src/server/assist/agent.ts for 'remove the dialogue' and 'just the music'.\n\nTOOLS. split_soundtrack({ media, keep?: ['dialogue','music','effects'], levels_db?: { dialogue?, music?, effects? }, engine? }) returns stem URLs, or one mixed file when levels_db is given (open: graph C soundtrack-remix-dbs; cloud: SAM passes + linear loudnorm, which can only lower, + compose). remove_dialogue({ video, keep?: 'bed' | 'dialogue', music_db? }) returns a new video through D2's planner. Both run estimate_job / estimate_cost first.\n\nENGINES. Open oss-dbs-separate (+ graph C); cloud sam-audio-separate / demucs. Honest notes in the tool descriptions: the cloud can only lower a stem's level; Demucs has no effects stem; there is no hosted DBS.\n\nTESTS. Tool schema validation, routing per engine, price-first behaviour, result shapes, offline planner suggestions. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. The Assist panel at 1440 px and 390 px, light and dark, running 'Remove the dialogue from this video' in demo mode.\n\nVERIFY HERE. Demo mode end to end. The shared CPU ComfyUI at 127.0.0.1:8188 is the validation server: it does not have ComfyUI-DBS and must not get it. DBS is tiny (23 MB of weights) and runs on a CPU, so set the pack up on an isolated worker (the scripts/comfy/install-isolated-worker.sh pattern with its own ISO_DIR, port and venv; the pack pinned at f656e53434b5485c148a2866fbd6ddc6b6152ed6; the four weight files of doc \u00a73.1 downloaded at their pinned revisions and checked with sha256sum) and validate there with COMFYUI_URL=http://127.0.0.1:<port> node scripts/comfy/validate-workflows.mjs <ids>, then run real CPU separations of short clips (10-30 s). Not verifiable: paid calls.\n\nLICENCES (information). As D1."+ },+ {+ "key": "D10-on-device-split",+ "title": "On this device (beta): DBS in the browser with ONNX and onnxruntime-web",+ "priority": "P2",+ "dependsOn": [+ "D1-split-soundtrack",+ "D4-separation-eval"+ ],+ "effort": "large",+ "brief": "GOAL. Split a short clip in the browser with nothing installed and no key: an 'On this device (beta)' engine in Split soundtrack, and real separation in demo mode. Unverified; ship only if parity and speed hold. Builds on D1 (UI) and D4 (metrics). Read docs/research/dbs-separation-7.md \u00a75 items 4-6 and \u00a711.\n\nSTEPS. (1) An export script (scripts/onnx/export_dbs.py, run with the eval venv's torch plus einops, reading the pinned weights) that wraps the network core of DBS-BSRNN and DBS-TIGER: real/imaginary spectrum in, masked spectra out; patch torch.stft/istft and torch.complex (tiger.py L651, L679, L526; modules/dbs.py L315, L332); opset 18 for ScatterElements max; fixed windows (TIGER 517 frames, BSRNN 259) and always-pad, documenting the small difference from the official short-clip path (inference.py L32-34). (2) A parity test against PyTorch on the same input (the pack's test_parity approach; SI-SDR between outputs above a set bar, e.g. 60 dB). (3) JS STFT / iSTFT (n_fft 2048, hop 512, Hann, centre reflect padding) and equal-weight overlap-add with the official windows in src/lib/av/dbs-web/, unit-tested against numpy references. (4) onnxruntime-web pinned to an exact version (bundled, or from an allowed CDN), WASM SIMD with threads, WebGPU where its ops work, in a Web Worker with progress and cancel. (5) UI: 'On this device (beta)' in the engine switch for clips up to 60 s, a time estimate measured on the first run, a fallback to the cloud. (6) Demo mode uses it when available.\n\nTESTS. Export parity (Python, eval venv), JS DSP tests, planner tests for the new engine choice. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. /audio/split on-device at 1440 px and 390 px, light and dark; the WASM path in headless Chromium; the main thread stays responsive (worker).\n\nVERIFY HERE. Export and parity run on CPU in the eval venv; WASM inference runs in the headless browser on a 10 s clip with timing. Not verifiable: WebGPU (no GPU here) and phone performance.\n\nLICENCES (information). The exported ONNX files derive from the Apache-2.0 weights: keep the attribution and NOTICE; onnxruntime-web is MIT; DnR v2 CC BY 4.0 attribution as in D1."+ }+ ]+ },+ "risks": [+ "Comfy Registry flags dbs-soundtrack-separation 0.1.0 (NodeVersionStatusFlagged, reason not public); node code has no network/exec path; zip matches git at f656e53; new pack, one author, 12 Registry downloads; pin the commit and record the flag",+ "the pack's video graph decodes every frame and re-encodes (about 45 GB per minute of 1080p30 float32): use LoadAudio + stream-copy mux",+ "domain: synthetic English DnR v2 only; real films, other languages, crowd/shouted speech, songs unverified; singing goes to music",+ "music vs effects modest (5.7-7.8 dB); missed speech stays in the bed",+ "CPU speed: TIGER 0.49x on 24 threads; default BSRNN on CPU; guess 0.3-0.6x on Fuobe's 4-CPU host; each channel x2 for stereo, x6 for 5.1",+ "channels: mono collapses stereo stems; fast stereo bed is a guess; for > 2 channels it would take speech out of LFE and surrounds; Fuobe's media probe doesn't read channel counts",+ "AudioMerge normalizes peaks over 1.0 (nodes_audio.py L747-749): a bed or remix may come out quieter",+ "library tooling: without folder models the weights are invisible to install and missing-model help; validation passes with no weights",+ "untested combination: pack CI covers ComfyUI v0.38.0/v0.42.1 on Python 3.10/3.12; Fuobe runs v0.41.0-7 on Python 3.13",+ "devices: ROCm uses the GPU via 'auto' (untested by the pack); CUDA output not bit-deterministic",+ "cloud: no hosted DBS; SAM Audio needs two passes for three stems, 48 kHz, may bill target and residual; prompted music vs effects undocumented; SAM weights under Meta's gated SAM License (information)",+ "cloud dub: SAM ($0.10-0.20/min) costs more than Demucs ($0.042/min) but drops two loudnorm steps: listen before switching the default",+ "licences (information): MIT and Apache-2.0 code and weights, CC BY 4.0 data; show the attribution and notices; some DnR source clips may carry NC licences (unverified)"+ ],+ "unknowns": [+ "quality on real film/video soundtracks, other languages and music with vocals vs MelBand RoFormer, Demucs htdemucs and SAM Audio on the same clips",+ "speed on Fuobe's CPU-only host (4 logical CPUs, 14.3 GB RAM, torch 2.14.1+cpu, Python 3.13) and whether single-thread no-NNPACK helps TIGER there",+ "whether the fast stereo bed sounds right on real stereo mixes",+ "why the Comfy Registry flagged 0.1.0",+ "whether an ONNX export of the network core works and matches PyTorch; onnxruntime-web WebGPU op coverage (bidirectional LSTM, ScatterElements max)",+ "how fal bills SAM Audio (input length vs summed target + residual); how well 'music' vs 'sound effects' prompts split the residual; whether Demucs's '$0.0007 per seconds' counts audio or compute seconds",+ "whether more DBS checkpoints (MUSDB 4-stem, EchoSet) will be released; whether fal or Replicate will host DBS (Replicate not ruled out with certainty)",+ "AudioShake's dollar price per credit",+ "ryan5453/demucs hardware (A100 in the text, A40 in the page JSON); Replicate prices are page estimates",+ "where steady noise (hiss, hum, room tone) lands: sfx or speech",+ "licences of individual DnR v2 source clips and whether they matter for the Apache-2.0 weights or their outputs"+ ],+ "sources": [+ "https://github.com/hiroki-abe-58/ComfyUI-DBS cloned at f656e53434b5485c148a2866fbd6ddc6b6152ed6 (/home/user/ext/ComfyUI-DBS/repo; HEAD = main = tag v0.1.0 per git ls-remote 2026-10-29): README.md, LICENSE, NOTICE, .comfyignore, requirements.txt, pyproject.toml, __init__.py, dbs_comfy/nodes.py, paths.py, runtime.py, vendor/UPSTREAM.md, vendor/MANIFEST.sha256 (sha256sum -c OK), vendor shims, tools/download_model.py, tools/model_files.sha256, docs/VERIFICATION.md, workflows/api/*.json, .github/workflows/ci.yml; grep scan of every .py outside tests/",+ "https://api.comfy.org/nodes/dbs-soundtrack-separation and /versions (NodeVersionStatusFlagged); https://cdn.comfy.org/hiroki-abe-58/dbs-soundtrack-separation/0.1.0/node.zip (listed and hashed, not extracted)",+ "https://github.com/JusperLee/Dynamic-Band-Splitting cloned at ff526463a58ee0278e7bd05c4b8bce112b743e34 (/home/user/ext/Dynamic-Band-Splitting/repo): README.md, CITATION.cff, LICENSE, THIRD_PARTY.md, pyproject.toml, requirements.txt, demo/README.md, demo/app.py, demo/backend.py L57-155, project_page/index.html, dbs/engine/inference.py, dbs/modules/stft.py, band_split.py, dbs.py L300-332, dbs/models/tiger.py L275-285, L454-526, L640-690",+ "https://export.arxiv.org/api/query?id_list=2610.14993 ; https://arxiv.org/abs/2610.14993",+ "https://huggingface.co/api/models/JusperLee/DBS-TIGER-DnR and /tree/main; README.md and config.json at 22da7d4c (hashed); safetensors header by HTTP range request",+ "https://huggingface.co/api/models/JusperLee/DBS-BSRNN-DnR and /tree/main; README.md and config.json at 5af343f5 (hashed); safetensors header by HTTP range request",+ "https://huggingface.co/api/models?author=JusperLee ; https://huggingface.co/api/models/JusperLee/TIGER-DnR ; https://huggingface.co/api/models/oulianov/DBS-TIGER-DnR ; https://huggingface.co/api/spaces/JusperLee/DBS-Demo",+ "https://zenodo.org/api/records/6949108 (DnR v2.0, cc-by-4.0); https://github.com/kwatcharasupat/bandit ; https://zenodo.org/api/records/10160698",+ "https://fal.ai/models/fal-ai/sam-audio/separate/llms.txt ; .../visual-separate/llms.txt ; .../span-separate/llms.txt ; https://fal.ai/models/fal-ai/demucs/llms.txt ; https://fal.ai/models/fal-ai/elevenlabs/audio-isolation/llms.txt ; https://fal.ai/models/fal-ai/deepfilternet3/llms.txt ; https://fal.ai/models/veed/clean-audio/llms.txt ; https://fal.ai/api/models?keywords=... (2026-10-29)",+ "https://replicate.com/ryan5453/demucs ; https://replicate.com/cjwbw/demucs ; https://replicate.com/geopti/sam-audio-large",+ "https://huggingface.co/api/models/facebook/sam-audio-large (and -base, -small); https://huggingface.co/facebook/sam-audio-large/resolve/main/LICENSE ; https://raw.githubusercontent.com/facebookresearch/demucs/main/LICENSE",+ "https://developer.audioshake.ai/models.md ; https://developer.audioshake.ai/billing.md",+ "Live ComfyUI read-only GETs: http://127.0.0.1:8188/system_stats, /object_info; source /home/user/ComfyUI @ fc04da91: comfy/audio.py L36, comfy/model_management.py L195-220, comfy_api/latest/_io.py L133, folder_paths.py L382-400 and L445-491, comfy_extras/nodes_audio.py L198-335, L400-420, L520-600, L617-790, server.py L406-418 and L783-820; nproc = 4",+ "Fuobe @ claude/fuobe-parity-4 (7d7a765): see the doc's Sources for the file list"+ ]+}diff --git a/docs/research/dbs-separation-7.md b/docs/research/dbs-separation-7.mdnew file mode 100644index 00000000..524ccb9b--- /dev/null+++ b/docs/research/dbs-separation-7.md@@ -0,0 +1,447 @@+# Fuobe research #7: DBS soundtrack separation (dialogue, music, effects)++_As of 2026-10-29. Machine-readable twin: [`dbs-separation-7.json`](dbs-separation-7.json) (`dbs`, `models`, `licences`, `pack`, `graphs`, `libraryTooling`, `outsideComfy`, `hosted`, `fuobeToday`, `comparison`, `placements`, `plan`, `risks`, `unknowns`, `sources`). It builds on [`comfyui-oss-3.md`](comfyui-oss-3.md) (MelBand RoFormer + Qwen3-ASR, the open dub's voice split) and [`paid-model-apis-3.md`](paid-model-apis-3.md) (the Demucs, SAM Audio and veed/clean-audio rows)._++**What was asked.** The owner wants DBS soundtrack separation in Fuobe. The new Dynamic Band Splitting (DBS) models split any soundtrack into music, sound effects and dialogue. They are tiny (1.0M and 4.7M parameters) and run on a CPU or a GPU, which the owner calls "huge for remixing/cleaning up audio". The pointer was the ComfyUI pack [hiroki-abe-58/ComfyUI-DBS](https://github.com/hiroki-abe-58/ComfyUI-DBS). Licences are information for Settings → Models & licences, never a reason to leave something out.++**How this was produced.** Read-only. Two repositories were cloned with `--depth 1` and read, never run: ComfyUI-DBS at `f656e53434b5485c148a2866fbd6ddc6b6152ed6` (`/home/user/ext/ComfyUI-DBS/repo`) and the upstream JusperLee/Dynamic-Band-Splitting at `ff526463a58ee0278e7bd05c4b8bce112b743e34` (`/home/user/ext/Dynamic-Band-Splitting/repo`). The vendored files were compared with `sha256sum`. Model facts come from the Hugging Face API (sizes, LFS hashes); the configs and cards were downloaded at the pinned revisions and hashed, and the parameter counts were read from the safetensors headers with HTTP range requests. The paper from the arXiv API and abs page; the Registry entry from api.comfy.org; hosted routes from fal's `llms.txt` pages and model search and from Replicate's model pages. The live CPU ComfyUI at `127.0.0.1:8188` was asked only read-only GETs (`/system_stats`, `/object_info`), and its source at `/home/user/ComfyUI` (`fc04da91`, v0.41.0-7) was read. Fuobe was read at `claude/fuobe-parity-4` (`7d7a765`). **Nothing was installed, nothing ran, and no paid call was made.**++## 1. The short version++- **DBS splits one soundtrack into three stems: music, sound effects and speech**, always in that order. The three stems add up to the input exactly (the model forces it), so "everything but the speech" is the original minus the speech (§2.1).+- **Two released models, both tiny and Apache-2.0.** DBS-TIGER-DnR (1,013,729 parameters, 4.1 MB) is the better one: 10.13 dB average SI-SDR on the DnR v2 test set. DBS-BSRNN-DnR (4,713,557 parameters, 18.9 MB) scores 9.07 dB but runs 3.7x faster on a CPU. Both take 44.1 kHz mono. The four files the loader needs come to 23 MB (§3).+- **Dialogue separates well; music against effects less so.** Speech scores 15–16 dB, music 6.5–7.8 dB, effects 5.7–6.7 dB. Fuobe can promise clean dialogue and dialogue-free beds, not a studio-grade music versus effects split. Every number is on synthetic English mixes; nobody has measured real films (§2.3).+- **CPU works, but slowly on Fuobe's server.** The pack's author measured DBS-BSRNN at 1.83x real time on a 24-thread desktop CPU and DBS-TIGER at 0.49x. Fuobe's ComfyUI host has 4 logical CPUs: my guess is 0.3–0.6x real time for DBS-BSRNN. On an RTX 5090 both run 16–22x real time in under 1.7 GiB (§2.4).+- **The ComfyUI pack is small and clean.** Two nodes (`DBSLoader`, `DBSSeparate`), MIT code, the vendored upstream code byte-identical, no downloads at run time, no network or exec code in the nodes, and no new Python package for Fuobe's ComfyUI. The Comfy Registry flags its only version (0.1.0) and gives no public reason; Fuobe would pin the git commit (§4.1–4.2).+- **Fuobe's graphs need only the two DBS nodes plus core nodes.** The pack's own video graph decodes every frame and must not be copied: Fuobe already has stream-copy mux graphs. A core `AudioMerge` subtract keeps a stereo music-and-effects bed at mono cost (§2.1, §4.4).+- **No hosted DBS exists.** The cloud route to three stems is two passes of fal's SAM Audio (prompt "speech", then "music" on what is left), about $0.20–0.40 per minute. Fuobe's Demucs is a music separator, not a dialogue one (§6).+- **What it changes in Fuobe.** Today Fuobe only splits "voice / background" for dubbing. DBS brings a Split soundtrack tool (Audio hub), Remove dialogue for videos (Video tools), a dub that keeps the score and effects (Translate & dub), cleaner voices before Transcribe and Lipsync, an "Original sound" choice in the studios that put a clip's sound back, a Canvas node and Assist tools (§8). The build plan has ten packages; three are P0 (§9).++## 2. What DBS is++### 2.1 What goes in and what comes out++| | |+|---|---|+| Input | One soundtrack. Both released models work on 44.1 kHz mono (model cards: "separates a 44.1 kHz mono soundtrack"; the pack refuses a model with any other rate, `dbs_comfy/runtime.py` L62). The pack resamples other inputs with ComfyUI's own `comfy.audio.resample` (L102–107; present in Fuobe's ComfyUI at `comfy/audio.py` L36). |+| Output | Three stems in a fixed order: music, sfx, speech (both model cards; `runtime.py` L29 `STEMS`). The pack adds a JSON report: model, device, input and output rate, resampled or not, channels, batch, windows, window and hop seconds, audio seconds, run seconds and times real time (L156–162). |+| The sum | The mask head forces the three masks to add up to 1+0j (`dbs/modules/dbs.py` L326–329), so music + sfx + speech = input. The pack measured the largest difference as 5e-7 (`docs/VERIFICATION.md` L56–57). |+| Length | Any. Inference is overlap-add with equal weights (`dbs/engine/inference.py` L29–53, `chunked`): DBS-TIGER uses 6 s windows every 3 s, DBS-BSRNN 3 s windows every 1.5 s. A clip of at most half a window is padded to one window; a clip between half a window and one window runs unpadded at its own length (L32–36); the last window of a long clip is padded and cropped. |+| Rates | `output_sample_rate` is `"44100"` (the model's rate) or `"input"` (resampled back; `runtime.py` L32, L148–154). |+| Extra | `model(mixture, return_aux=True)` also returns the band boundaries the model picked (model cards; `tiger.py` L682–689). The upstream Gradio demo draws them; the pack does not expose them. |++**What the sum means in practice.** Nothing is lost and nothing is invented; sound is only moved between stems. Whatever the model does not call "speech" stays in music or effects. So a "no dialogue" bed keeps any speech the model missed.++**Stereo.** The models are mono. The pack offers two modes (`channels`, `runtime.py` L140):++- **mono** separates the mean of the channels. This is the official usage. All three stems come out mono. For a 5.1 file the mean includes the LFE and surround channels (my reading of L140).+- **each channel** separates every channel on its own and keeps the channel count. The time grows with it: 2x for stereo, 6x for 5.1.++A third way, my proposal (not in the pack; a guess until it is heard): separate the mono mean, then subtract the mono speech from each original channel with core `AudioMerge` (`merge_method: subtract`). Torch broadcasts the 1-channel speech over the 2-channel original (`comfy_extras/nodes_audio.py` L708–741), so the bed keeps the original stereo image at mono cost. It is exact for dialogue mixed to the centre, the usual case in video. Speech panned off centre leaves half the left-right difference in the bed. One catch: `AudioMerge` divides the whole result by its peak when the peak is over 1.0 (L747–749), which would lower the bed's level on a loud mix. §4.4 uses this "fast stereo" bed and §9 D4 checks it.++### 2.2 How it works++From the upstream README overview (L38–48) and the arXiv abstract. Band-split separators (BSRNN, TIGER, BS-RoFormer) cut the spectrum into fixed frequency bands. DBS learns where to cut, for each input:++1. A scorer that looks at the content rates every STFT bin inside 4 coarse regions.+2. Hard Top-K picks a fixed number of boundaries, for a budget of 128 band tokens.+3. Content-weighted pooling makes one token per band.+4. The unchanged backbone (BSRNN, TIGER, BS-RoFormer or Mel-RoFormer) separates the tokens.+5. The tokens are smoothed, spread back over the STFT grid, refined along frequency and turned into complex masks by a head shared by all frequencies.++DBS-MelRoFormer uses a soft router instead of hard boundaries.++- **Paper:** "Learning Where to Split: Dynamic Band Splitting for Audio Source Separation", Bingzhe Zhang, Kai Li, Xiaolin Hu (Tsinghua University). [arXiv:2610.14993](https://arxiv.org/abs/2610.14993) [cs.SD], submitted 2026-10-10, 25 pages, 11 figures. The README's news entry of 2026-10-15 announces the paper; the paper, code and weights all went up on 2026-10-10.+- **Code:** [JusperLee/Dynamic-Band-Splitting](https://github.com/JusperLee/Dynamic-Band-Splitting) at `ff526463` (2026-10-15, still the remote HEAD on 2026-10-29). Python 3.11+.+- **Project page:** [cslikai.cn/Dynamic-Band-Splitting](https://cslikai.cn/Dynamic-Band-Splitting/).+- **Official listening demo:** Hugging Face Space [JusperLee/DBS-Demo](https://huggingface.co/spaces/JusperLee/DBS-Demo) (Gradio, ZeroGPU, files up to 10 minutes and 500 MB).++### 2.3 Quality++SI-SDR on the DnR v2 test set (973 full-length tracks), from the upstream README (L127–132), both model cards and the project page table:++| Model | Music | Speech | SFX | Average | Params | MACs per second of audio |+|---|---|---|---|---|---|---|+| **DBS-TIGER (128 bands)** | 7.78 | 15.90 | 6.70 | **10.13 dB** | 1.0M | 31.6 G |+| **DBS-BSRNN (128 bands)** | 6.48 | 15.01 | 5.73 | **9.07 dB** | 4.7M | 124.0 G |+| TIGER (128), retrained by the authors | | | | 8.74 dB | 1.4M | 20.4 G |+| BSRNN (128), retrained by the authors | | | | 7.69 dB | 35.5M | 76.6 G |+| TIGER (published) | | | | 7.44 dB | 1.4M | 10.8 G |+| MRX | | | | 7.40 dB | 30.5M | 10.6 G |+| BSRNN (published) | | | | 7.03 dB | 52.8M | 18.2 G |+| Conv-TasNet | | | | 3.60 dB | 5.3M | 19.8 G |++- The abstract's "29.0% relative gain" for DBS-BSRNN is against the published BSRNN (9.07 / 7.03 = 1.290), not against the retrained static BSRNN (128), where the gain is 18%.+- DBS-TIGER is about 2.7 dB better than the same author's earlier static model, [JusperLee/TIGER-DnR](https://huggingface.co/JusperLee/TIGER-DnR) (7.44 dB, Apache-2.0).+- **Reading the numbers.** Dialogue comes out well (15–16 dB). Music against effects is much weaker (5.7–7.8 dB): expect audible bleed between those two stems.+- **Other results in the paper, models not released** (README L134–147): MUSDB18-HQ 4 stems, DBS-BSRNN 5.43 dB (21.7M), DBS-BS-RoFormer 6.34 dB (33.9M), DBS-MelRoFormer 8.07 dB (19.1M); EchoSet SDRi, DBS-TIGER 14.55 dB (1.0M), DBS-BSRNN 13.21 dB (7.1M).++### 2.4 Speed and memory++Measured by the pack's author (`docs/VERIFICATION.md` L96–108; Windows 11, RTX 5090, Core Ultra 9 285K with 24 threads, torch 2.14.1+cu130; model already loaded):++| Model | Device | Input | Time | Speed | Peak GPU memory |+|---|---|---|---|---|---|+| DBS-TIGER | RTX 5090 | 10 min, mono | 37.9 s | 15.9x real time | 1.64 GiB |+| DBS-TIGER | RTX 5090 | 10 min, each channel | 74.5 s | 16.1x per channel | 1.61 GiB |+| DBS-BSRNN | RTX 5090 | 10 min, mono | 26.9 s | 22.4x | 1.42 GiB |+| DBS-BSRNN | RTX 5090 | 10 min, each channel | 53.7 s | 22.4x per channel | 1.42 GiB |+| DBS-TIGER | CPU, 24 threads | 60 s, mono | 122.5 s | 0.49x | – |+| DBS-BSRNN | CPU, 24 threads | 60 s, mono | 32.8 s | 1.83x | – |++- **On a CPU, use DBS-BSRNN.** It has 4x the MACs of DBS-TIGER but runs 3.7x faster there.+- **Fuobe's ComfyUI host** (4 logical CPUs, 14.3 GB RAM, torch 2.14.1+cpu, started with `--cpu`; `/system_stats`, `nproc`) was not measured, because the research rules forbid running the pack. Guess, scaling from 24 threads to 4: DBS-BSRNN at 0.3–0.6x real time, so a 1-minute clip takes 2–3 minutes; DBS-TIGER about 4x slower than that.+- **Threads.** The upstream demo runs DBS-TIGER on a CPU with one thread and NNPACK off and says that is faster and identical (`demo/README.md` L74–75; `demo/backend.py` L134–155). The pack measured that mode as 3.3x slower and not bit-identical (71.5 s against 21.4 s for 10 s of audio; VERIFICATION.md L112–114). Which wins on a 4-core host is unknown.+- **Memory.** The stems of the whole input stay in memory until the end: 12 bytes per input sample at 44.1 kHz, about 0.3 GB per 10 minutes (VERIFICATION.md L107–108). An hour of audio would need about 1.9 GB on top of the decoded input (my arithmetic).++### 2.5 Limits the authors and the pack state++- **Training data:** only DnR v2, synthetic mixes of English read speech (LibriSpeech), FMA music and FSD50K effects. Other languages, shouted or crowd speech, very loud music and real films are unverified.+- **Singing** is likely to end up in "music" (VERIFICATION.md, "Not checked"). That is what a dub wants; it is wrong for someone who asks for "vocals".+- **Determinism:** CUDA runs are not bit-identical. The pack measured 69–80 dB SNR against official runs; official runs differ from each other by 77.5 dB (DBS-TIGER) and 90.7 dB (DBS-BSRNN). ComfyUI's `--deterministic` does not set `cudnn.deterministic`, which DBS-BSRNN's LSTMs would need.+- **Devices:** the pack's `auto` uses ComfyUI's device when its type is `cuda`, otherwise the CPU (`nodes.py` L28–35). ComfyUI returns a `cuda` device for AMD ROCm as well (`comfy/model_management.py` L195–213; the comment at L218–220 says "NVIDIA + AMD/ROCm both expose their GPUs through torch.cuda"), so ROCm runs on the GPU. The pack never tested AMD (VERIFICATION.md L124). Apple MPS, Intel XPU and DirectML fall back to the CPU. The upstream demo backend refuses anything but CPU or CUDA (`demo/backend.py` L57–61).++## 3. The models and their licences++### 3.1 The two released models++| | DBS-TIGER-DnR | DBS-BSRNN-DnR |+|---|---|---|+| Repository @ revision | [`JusperLee/DBS-TIGER-DnR`](https://huggingface.co/JusperLee/DBS-TIGER-DnR) @ `22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b` | [`JusperLee/DBS-BSRNN-DnR`](https://huggingface.co/JusperLee/DBS-BSRNN-DnR) @ `5af343f57f106fbb95efe8a60f1a3999eeb0aef8` |+| `model.safetensors` | 4,111,836 bytes | 18,886,156 bytes |+| `config.json` | 957 bytes | 1,242 bytes |+| `README.md` (optional card) | 2,403 bytes | 2,404 bytes |+| Parameters | 1,013,729 (1,013,727 F32 + 2 I64), 507 tensors | 4,713,557 (all F32), 314 tensors |+| Config | win 2048, stride 512, in 256, out 132, 8 blocks, upsampling depth 5, 3 sources, `use_fla` false (the optional flash-linear-attention block is never built); 4 regions, bins 0–40–80–352–1025, 32 tokens each = 128 bands | n_fft 2048, hop 512, win 2048, not normalized; dim 128, depth 6, bidirectional LSTM, hidden 128, 3 stems, mono; 4 regions, bins 0–64–128–576–1025, 64/64/32/32 tokens = 128 bands |+| Windows | 6 s every 3 s | 3 s every 1.5 s |+| Created, downloads (2026-10-29) | 2026-10-10, 1,648 | 2026-10-10, 704 |+| Gated | no | no |++SHA-256 of the files the ComfyUI loader needs (the pack's `tools/model_files.sha256` matches all of them; the LFS hashes are from the HF API, the configs and cards were downloaded and hashed):++| File (under `models/dbs/`) | SHA-256 |+|---|---|+| `DBS-TIGER-DnR/model.safetensors` | `3d8205743f2a6f5a6704f5d4104d7cf5bf7bf02dab2fd728da31f4c69225cadb` |+| `DBS-TIGER-DnR/config.json` | `c7f7893323e78f9b99747a13090558a13c4f4b77383a38acb9979709fd04d1d8` |+| `DBS-BSRNN-DnR/model.safetensors` | `26290f93e7b501113325e922e7b0c18edca944634e6b9be39856a55204628405` |+| `DBS-BSRNN-DnR/config.json` | `57055e2b71913d98a4e1ed426b71617f0dfc372901cc5a8a3bc4a5c69415043e` |+| `DBS-TIGER-DnR/README.md` (optional) | `df844475771bc045de2586686df4df9acf933cf57080dca7c9db41d6b22e2f2e` |+| `DBS-BSRNN-DnR/README.md` (optional) | `fb386d345dd955befb6dd13e7cb4522d1b2222cba382c17747750ac6a41b3f21` |++The loader reads two files per model (`runtime.py` L30 `FILES`), 4 files in all, 23,000,191 bytes. Both models have a file called `model.safetensors`, so they must live in their own folders. Download URLs follow `https://huggingface.co/<repo>/resolve/<revision>/<file>`. An unofficial mirror of the same size exists at `oulianov/DBS-TIGER-DnR`; Fuobe does not need it.++### 3.2 Licences, as information++For Settings → Models & licences. Every item below is permissive; nothing is held back.++| Item | Licence | Notes | Source |+|---|---|---|---|+| DBS-TIGER-DnR, DBS-BSRNN-DnR weights | **Apache-2.0** | Card front matter `license: apache-2.0`, HF tag `license:apache-2.0`, not gated. Trained from scratch on DnR v2. | model cards at the pinned revisions; HF API |+| Upstream DBS code | **Apache-2.0** | `LICENSE` is the plain template ("Copyright [yyyy] [name of copyright owner]"); the authors come from `pyproject.toml` and `CITATION.cff` (Zhang, Li, Hu). `THIRD_PARTY.md` keeps MIT notices for BS-RoFormer (c) 2023 Phil Wang, Music-Source-Separation-Training (c) 2024 Roman Solovyev (ZFTurbo) and TIGER / Look2Hear (c) 2026 Kai Li. | upstream @ `ff526463` |+| ComfyUI-DBS pack code (outside `dbs_comfy/vendor`) | **MIT**, (c) 2026 hiroki-abe-58 | `LICENSE`, `NOTICE`. The Registry metadata says `license: {"file": "LICENSE"}`. | pack @ `f656e53` |+| Vendored DBS code (`dbs_comfy/vendor`) | **Apache-2.0** with the MIT notices above | `vendor/LICENSE` SHA-256 `cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30`, identical to upstream | `sha256sum` |+| DnR v2 dataset | **CC BY 4.0** | Attribution: Petermann, Wichern, Wang, Le Roux (Zenodo record 6949108, v2.0, 2021-10-17). From general knowledge, not checked here: some FSD50K and FMA source clips carry their own CC licences, NC variants included. Whether that reaches the weights or their outputs is unresolved; record only. | [zenodo.org/api/records/6949108](https://zenodo.org/api/records/6949108) |+| Paper arXiv:2610.14993 | arXiv non-exclusive distribution licence 1.0 | | abs page |+| HF Space JusperLee/DBS-Demo | apache-2.0 (card) | | Space API |+| Docs images in the pack and project page | CC BY 3.0, (c) Blender Foundation (Tears of Steel, Sintel) | Fuobe does not need them. | pack `docs/`, project page |+| Hosted routes (§6) | Paid APIs | SAM Audio weights: Meta's "SAM License" (last updated November 19, 2025), gated with manual approval; Demucs MIT; ElevenLabs isolation and veed/clean-audio proprietary; DeepFilterNet's licence not checked. | provider pages, HF API, Demucs `LICENSE` |++For `src/lib/licences.ts`: a `NODE_PACKS` row for `ComfyUI-DBS` (MIT; note "vendored DBS code Apache-2.0 with MIT notices; the DBS weights are Apache-2.0, trained on DnR v2 (CC BY 4.0)"), and the workflow `license` text in each spec entry, which `workflowLicence` and `licenceInfo` turn into the model rows. Show the DnR v2 CC BY 4.0 attribution and the three MIT notices on About & licences.++### 3.3 What is not released++- Only the two DnR v2 checkpoints exist. The HF API lists 21 models by JusperLee; the only DBS ones are these two. There are no DBS checkpoints for MUSDB18-HQ (DBS-BSRNN, DBS-BS-RoFormer, DBS-MelRoFormer) or EchoSet.+- A related open model: **Bandit** ([kwatcharasupat/bandit](https://github.com/kwatcharasupat/bandit)), code Apache-2.0, DnR checkpoints on Zenodo 10160698 under CC BY-NC 4.0, 309–776 MB each, 32–83M parameters. DBS is 7–80x smaller with permissive weights. I did not compare scores: Bandit uses DnR record 5574713, which may be a different DnR version.++## 4. The ComfyUI pack and the graphs Fuobe would build++### 4.1 The pack++[hiroki-abe-58/ComfyUI-DBS](https://github.com/hiroki-abe-58/ComfyUI-DBS), an unofficial integration (`NOTICE`). HEAD of main = tag v0.1.0 = **`f656e53434b5485c148a2866fbd6ddc6b6152ed6`** (2026-10-19 15:46:40 +0900, "Make the slowest tests cheaper and give CI more time"; `git ls-remote` on 2026-10-29). `pyproject.toml`: name `dbs-soundtrack-separation`, version 0.1.0, PublisherId `hiroki-abe-58`, `requires-python >=3.10`. It uses ComfyUI's V3 node API (`comfy_api.latest`: `io.ComfyNode`, `ComfyExtension`, entry point `comfy_entrypoint`; `dbs_comfy/nodes.py` L100–107) and asks for ComfyUI v0.38.0+ (README L71).++**`DBSLoader`** ("DBS Loader", category `loaders/dbs`; `nodes.py` L38–63)++| Input | Type | Options | Default |+|---|---|---|---|+| `model` | Combo | `DBS-TIGER-DnR`, `DBS-BSRNN-DnR` (a fixed name list, not a file picker) | `DBS-TIGER-DnR` |+| `device` | Combo | `auto`, `cpu` | `auto` |++Output: `DBS_MODEL` (a custom type, display name "model"; a dict `{folder, name, device}`). It loads at once from `<models>/dbs/<model>/` holding `config.json` and `model.safetensors`; the first registered `dbs` folder holding both wins, so an `extra_model_paths.yaml` entry for `dbs` works (`paths.py` L13–28). A missing file fails at this node. The weights load with `safetensors.torch.load_model(..., strict=True)` (`runtime.py` L61). The cache keeps one model at a time and is cleared on any other load (L56–66), so a graph that uses both models reloads on each switch.++**`DBSSeparate`** ("DBS Separate (music / sfx / speech)", category `audio/dbs`; `nodes.py` L66–97)++| Input | Type | Options | Default |+|---|---|---|---|+| `model` | `DBS_MODEL` | | |+| `audio` | `AUDIO` | | |+| `channels` | Combo | `mono`, `each channel` | `mono` |+| `output_sample_rate` | Combo | `44100`, `input` | `44100` |++Outputs in order: `music` (AUDIO), `sfx` (AUDIO), `speech` (AUDIO), `report` (STRING, indented JSON). It shows a progress bar per window and checks for an interrupt at every window (`nodes.py` L15–25), processes batch items one by one, and refuses empty or non-finite waveforms (`runtime.py` L120–123).++**Fit with Fuobe's ComfyUI.** The pinned ComfyUI `fc04da91` has everything the pack calls: `io.Custom` (`comfy_api/latest/_io.py` L133), `ComfyExtension`, `comfy.audio.resample` (`comfy/audio.py` L36) and `folder_paths.add_model_folder_path` with `is_default` (`folder_paths.py` L382–398). On the live server, `GET /object_info/DBSLoader` and `/object_info/DBSSeparate` return `{}`: not installed (and nothing was installed). Every core node the pack's workflows use is present, plus `AudioAdjustVolume` (INT dB), `AudioMerge` (add, mean, subtract, multiply), `SplitAudioChannels` / `JoinAudioChannels` and the paid `ElevenLabsAudioIsolation` API node.++### 4.2 Dependencies, what the code does, and the Registry flag++- **Requirements:** `einops>=0.7` and `safetensors>=0.4`; torch comes from ComfyUI. Fuobe's ComfyUI already has einops (`scripts/comfy/install-comfyui.sh` L121: "ComfyUI-MelBandRoFormer needs rotary_embedding_torch + einops") and ships safetensors. The pack's clean-install run added no package (VERIFICATION.md L80–86). So it can live in the main ComfyUI, not the isolated worker.+- **Test coverage:** CI tests ComfyUI v0.38.0 (Ubuntu and Windows, Python 3.12, torch 2.14.1; Ubuntu Python 3.10, torch 2.8.0) and v0.42.1 (Ubuntu, Python 3.12) (`.github/workflows/ci.yml`). Fuobe runs ComfyUI v0.41.0-7 on Python 3.13 (`install-comfyui.sh` L12–13; live server 3.13.16): not covered by CI, though every API the pack calls exists in that tree.+- **No downloads at run time.** `paths.py` and `runtime.py` only read local files. The vendored `hub.py` is an empty `PyTorchModelHubMixin`. `tools/download_model.py` is a separate script a person runs by hand: it calls `huggingface_hub.hf_hub_download` at the pinned revisions for `config.json`, `model.safetensors` and `README.md`, then checks SHA-256 against `tools/model_files.sha256`.+- **Vendored code.** `dbs_comfy/vendor/dbs` is the inference subset of upstream `ff526463`. `models/bsrnn.py`, `models/tiger.py`, `modules/__init__.py`, `modules/band_split.py`, `modules/dbs.py`, `modules/stft.py`, `engine/inference.py`, `LICENSE` and `THIRD_PARTY.md` are byte-identical to upstream (`sha256sum`); `sha256sum -c MANIFEST.sha256` passes for all 13 entries. Four small files are the pack's own shims: `dbs/__init__.py`, `engine/__init__.py` (exports `separate` only), `models/__init__.py` (BSRNN and TIGER only) and `hub.py`. The author reports bit-for-bit CPU parity with the official package (6 of 6) and CUDA parity with deterministic algorithms (4 of 4) (VERIFICATION.md L22–54).+- **Risk scan.** A grep over every `.py` outside `tests/` for `requests`, `urllib`, `subprocess`, `eval(`, `exec(`, `pickle`, `torch.load`, `trust_remote_code`, `socket`, `os.system`, `Popen`, `importlib` and `hf_hub` finds nothing in the node code or the vendored code. Hits are only in tools a person runs: `tools/download_model.py` (`hf_hub_download`), `scripts/ci_queue_check.py` (starts a ComfyUI, talks to 127.0.0.1), `scripts/queue_client.py` (talks to a ComfyUI URL), `scripts/export_gui_workflows.py` (refuses anything but `http://127.0.0.1:`). `scripts/`, `tests/` and `.github/` are left out of the Registry zip by `.comfyignore`. `tiger.py` would import `fla` only for a config with `use_fla: true`; the released config has false. The `config.json` is passed straight into the model constructor (`runtime.py` L60): a tampered config could only raise an error; no code-execution path was seen.+- **The Comfy Registry flags it.** [api.comfy.org/nodes/dbs-soundtrack-separation](https://api.comfy.org/nodes/dbs-soundtrack-separation): created 2026-10-19, 12 downloads, 46 GitHub stars; its only version, 0.1.0, has status `NodeVersionStatusFlagged`, and the reason is not public. The Registry's `node.zip` was listed and hashed without being extracted: its files match the git tree at `f656e53`. Fuobe installs packs by pinned `git clone` (`install-comfyui.sh` `NODES`), so the flag does not block it, but it is a trust signal to record next to the pin.++### 4.3 The pack's example workflows++| Workflow (`workflows/api/…`, GUI copies in `workflows/gui/`) | Graph |+|---|---|+| `separate_soundtrack.json` | `LoadAudio`(soundtrack.wav) → `DBSLoader`(DBS-TIGER-DnR, auto) → `DBSSeparate`(mono, 44100) → 3 × `SaveAudioAdvanced` flac (`dbs/music`, `dbs/sfx`, `dbs/speech`) + `PreviewAny`(report) |+| `remove_dialogue.json` | `LoadAudio` → `DBSLoader` → `DBSSeparate`(each channel, input) → `AudioMerge`(music, sfx, add) → `SaveAudioAdvanced` `dbs/music_and_effects`; speech → `SaveAudioAdvanced` `dbs/dialogue`; `PreviewAny` |+| `video_remove_dialogue.json` | `LoadVideo`(clip.mp4) → `GetVideoComponents` → `DBSSeparate`(each channel, input) → `AudioMerge` add → `CreateVideo`(images, fps, audio) → `SaveVideo` `dbs/no_dialogue`; dialogue → FLAC; `PreviewAny` |++**Do not reuse the video graph.** `GetVideoComponents` decodes every frame into an `IMAGE` tensor and `CreateVideo` / `SaveVideo` encode the picture again: lossy, and memory grows with length. My arithmetic, with float32 frames: about 25 MB per 1080p frame, about 45 GB for one minute at 30 fps, far over the host's 14.3 GB. Fuobe already reads a video's sound with `LoadAudio` (`src/server/providers/comfyui.ts` L864) and puts sound back with stream-copy graphs (`video-mux-audio`, `video-mux-audio-replace`, `scripts/comfy/library.spec.mjs` L2400–2428: `Concatenate Video` with `complete_audio` copies the video packets and encodes only the new soundtrack).++### 4.4 The graphs Fuobe would build++All hand-built (`scripts/comfy/hand-built/`), with only `DBSLoader`, `DBSSeparate` and core nodes. Stems are saved as FLAC with `SaveAudioAdvanced` (`format: "flac"`), so they still add up to the source after saving. Stem names follow Fuobe's chain vocabulary: `voice` (the dialogue), `music`, `effects`, `background` (music and effects together).++**A. `separate-soundtrack-dbs`** (capability `separate-audio`). The one graph behind Split soundtrack, Remove dialogue, Clean up dialogue and the "Original sound" choices.++| id | class | inputs |+|---|---|---|+| 1 | `LoadAudio` | `audio` ← binding `audio` (an audio file or a video; `LoadAudio` decodes a video's soundtrack without frames) |+| 2 | `DBSLoader` | `model` ← binding `separationModel` (default `DBS-BSRNN-DnR`), `device` `auto` |+| 3 | `DBSSeparate` | `model` [2,0], `audio` [1,0], `channels` ← binding `channels` (default `mono`), `output_sample_rate` `input` |+| 4 | `AudioMerge` | `audio1` [1,0] (the original), `audio2` [3,2] (speech), `merge_method` `subtract` → **background** |+| 5 | `SaveAudioAdvanced` | [3,2], `filename_prefix` `fuobe/dbs/voice`, `format` flac → output stem `voice` |+| 6 | `SaveAudioAdvanced` | [3,0], `fuobe/dbs/music` → stem `music` |+| 7 | `SaveAudioAdvanced` | [3,1], `fuobe/dbs/effects` → stem `effects` |+| 8 | `SaveAudioAdvanced` | [4,0], `fuobe/dbs/background` → stem `background` |+| 9 | `PreviewAny` | `source` [3,3] → text output, role `report` (speed and windows for the job's details) |++Why the background is "original minus speech" (node 4) and not "music plus effects": with `channels: mono` it keeps the original stereo image (§2.1); with `each channel` it equals music + effects in every channel anyway (the sum is exact). Output order puts `voice` first, so a chain without a `stem` takes the dialogue (`pickOutput`, `src/server/generations.ts` L777–789). Defaults: `DBS-BSRNN-DnR` and `mono` on CPU hosts; `DBS-TIGER-DnR` and `each channel` are worth it on CUDA hosts, where they still run well over 10x real time (§2.4). Fuobe can tell which host it has from `GET /system_stats` `devices[0].type` (ComfyUI `server.py` L783–796; Fuobe already reads `devices[0]` at `comfyui.ts` L1530). For more than 2 channels, use `each channel` or down-mix first, because node 4 would take the speech out of the LFE and surround channels too.++**B. `dub-prepare-dbs-transcribe`** (capability `separate-audio`). Same output contract as today's `dub-prepare-separate-transcribe` (`library.spec.mjs` L2239–2262: stems `voice` and `background`, text `cues`, `transcript`, `language`), so the open dub only changes its model id.++| id | class | inputs |+|---|---|---|+| 1 | `LoadAudio` | binding `audio` |+| 2 | `DBSLoader` | binding `separationModel`, default `DBS-BSRNN-DnR` |+| 3 | `DBSSeparate` | `mono`, `input` |+| 4 | `AudioMerge` | original − speech → background |+| 5 / 6 | `SaveAudioAdvanced` | voice ([3,2]) → stem `voice`; background ([4,0]) → stem `background` |+| 7 | `AILab_Qwen3ASRSubtitle` | `audio` [3,2]; the same settings as node 7 of the existing graph (Qwen3-ASR 1.7B + ForcedAligner 0.6B; bindings `sourceLanguage`, `asrModel`, `hints`, `maxChars`) |+| 8 / 9 / 10 | `SaveText` / `SaveText` / `PreviewAny` | cues, transcript, language |++Honest expectation: the separation half becomes CPU-friendly (23 MB instead of the 0.46 GB MelBand RoFormer), but Qwen3-ASR stays in the graph, so the 8 GB listing and the ~5.9 GB first-run ASR download remain (`library.spec.mjs` L2255–2259).++**C. `soundtrack-remix-dbs`** (capability `separate-audio`, one output). For server-side remixes (Assist, MCP, Canvas, a video Remix) where the browser mixer is not in the loop.++| id | class | inputs |+|---|---|---|+| 1–3 | `LoadAudio`, `DBSLoader`, `DBSSeparate` | as in A, binding `channels` |+| 4 / 5 / 6 | `AudioAdjustVolume` × 3 | `volume` ← bindings `voiceDb`, `musicDb`, `effectsDb` (INT, −100…100) on speech, music, sfx |+| 7 / 8 | `AudioMerge` add × 2 | voice + music, then + effects |+| 9 | `SaveAudioAdvanced` | → output `audio` (role `mix`) |++`AudioMerge` scales the whole mix down when it peaks over 1.0 (§2.1), which acts as a crude safety limiter; the level then differs from the dB asked for. With `channels: mono` the mix is mono: for a stereo video, prefer `each channel`, or the two-stem route below.++**Video jobs need no new graph.** Remove dialogue is a two-step chain: graph A on the video, then the existing `mux` op. "No dialogue": `video-mux-audio-replace` with the `background` stem. "Dialogue only": the same with the `voice` stem. "Lower the music": `video-mux-audio` with `audio` = voice, `audio2` = background and `backgroundVolumeDb` (the provider already picks between the two mux graphs). The picture is stream-copied in every case.++### 4.5 Library tooling changes++- **Install pin.** Add `[ComfyUI-DBS]="https://github.com/hiroki-abe-58/ComfyUI-DBS f656e53434b5485c148a2866fbd6ddc6b6152ed6"` to `NODES` in `scripts/comfy/install-comfyui.sh` (L15–34), with a comment that the Registry flags 0.1.0 and the code was read at this commit. No extra Python packages. The weights are small enough to fetch in the same script: an opt-out block (`DBS_WEIGHTS=0` skips it) that downloads the 4 files of §3.1 at the pinned revisions into `models/dbs/<name>/` and checks them with `sha256sum -c`.+- **Folder models.** `build-library.mjs` finds models only through `LOADER_FOLDERS[class][input]` or a file-name extension on a widget value (L31–48, L306–334). `DBSLoader.model` is a name with no extension, so the builder would neither list nor flag the DBS weights, and the Workflows page's missing-model help (`src/app/api/comfyui/route.ts`, `src/components/workflows-view.tsx` L43) would not know them. Fix: `KNOWN_MODELS` entries keyed by the path under the folder (`'DBS-BSRNN-DnR/model.safetensors': { folder: 'dbs', url }`, and the same for `config.json` and the TIGER pair) plus a new spec field, say `requiredModels: [...]`, handled next to the existing `optionalModels` loop (L335–346); TIGER goes in `optionalModels`. Presence then works as it is: with the pack loaded, ComfyUI registers the `dbs` folder with no extension filter (`folder_paths.py` L398, L445–446), so `GET /models/dbs` lists `DBS-BSRNN-DnR/config.json` and `DBS-BSRNN-DnR/model.safetensors`, which `/api/comfyui` matches by file string. (A Windows ComfyUI would list back-slashed paths; a minor gap.)+- **Packs not on the validation server.** Use the existing `packs: ['ComfyUI-DBS']` field with a `PACK_CLASSES` entry `/^DBS(Loader|Separate)$/` (`library.spec.mjs` L140–143 and L2809; `build-library.mjs` L260–262), like the H3 entries. Add `CUSTOM_NODE_REPOS['ComfyUI-DBS']` (L110–136).+- **Bindings.** Add `separationModel`, `channels`, `voiceDb`, `musicDb` and `effectsDb` to `BINDING_KEYS` (`build-library.mjs` L96ff) and to the spec header, and teach `src/server/providers/comfyui.ts` to fill them from `params`.+- **Validation.** `validate-workflows.mjs` only POSTs `/prompt` and deletes the job (L9–20), and it creates zero-byte placeholders for missing models (L111–113, L190). DBS's combo is fixed, so placeholders are not needed to validate, and nothing checks that the real weights exist: only a run would catch a missing file, at `DBSLoader`.++### 4.6 What this machine can and cannot verify++- **Can:** unit tests; build-library on the spec; a static check of the core nodes against `/object_info` on the shared server; and, because DBS is tiny and runs on a CPU, **real runs on an isolated worker** where the pack and the 23 MB of weights are installed (`scripts/comfy/install-isolated-worker.sh` pattern, its own `ISO_DIR` and port, never the shared server at 8188). That worker can validate the graphs (`COMFYUI_URL=http://127.0.0.1:<port> node validate-workflows.mjs …`), run them on short clips and measure the speed this 4-core host really gets.+- **Cannot:** any GPU timing; quality on real films without a listening panel; paid SAM Audio, Demucs or veed calls without a key and a budget.++## 5. Running it outside ComfyUI++Yes, the models run outside ComfyUI, but every route is new plumbing for Fuobe.++1. **The weights** are plain F32 safetensors plus `config.json` in the Hugging Face `PyTorchModelHubMixin` layout. There is no ONNX file and no export path in upstream, the cards or the pack.+2. **A Python sidecar** (proven code, new seam). `dbs_comfy/runtime.py` calls itself "DBS separation without ComfyUI"; its only ComfyUI import is `comfy.audio`, loaded lazily for non-44.1 kHz input (L102–107), which torchaudio or `ffmpeg -ar 44100` can replace. It needs torch (CPU), safetensors, einops, the vendored Apache-2.0 subset (77,643 bytes of `.py`) and the weights. Fuobe's app server never starts processes (`git grep` for `child_process`, `spawn(`, `execFile`, `execa`, `fluent-ffmpeg` in `src/` finds nothing; all compute goes to ComfyUI or hosted APIs), so a product sidecar would add a runtime, process management and an audio decoder. **Not worth it as a product path** while ComfyUI does this in two nodes.+3. **For evaluation it is cheap.** Fuobe's eval harness already has a uv venv with torch 2.14.1+cpu and safetensors 0.8.0 (`scripts/eval/metrics/requirements.txt` L73, L83); only einops is missing. The harness has no separation metric yet (`fuobe_metrics` covers CLIP, aesthetics, flow, lip-sync and audio-envelope maths).+4. **ONNX for onnxruntime-node or -web** (feasible, unverified; my analysis). ONNX has STFT (opset 17) but no complex tensors and no ISTFT, so an export would wrap the network core: real and imaginary spectra in, masked spectra out, with STFT / iSTFT (n_fft 2048, hop 512, Hann, torch `center=True` reflect padding) and overlap-add in JavaScript. Patches needed: TIGER calls `torch.stft` / `torch.istft` inside `forward` (`tiger.py` L651, L679) and builds `torch.complex` in `FreqDechunker` (L526); BSRNN's `TokenMaskDecoder` uses `view_as_real` and `torch.complex` (`modules/dbs.py` L315, L332). Op coverage: Hard Top-K → `TopK` (fixed k per region), `cumsum` → `CumSum`, `gather` → `GatherElements`, `scatter_add_` → `ScatterElements` add (opset 16+), `scatter_reduce_` amax with `include_self` → `ScatterElements` max (opset 18+; whether `torch.onnx` exports it cleanly is a guess), bidirectional LSTMs (`tiger.py` L280, `modules/dbs.py` L113), grouped and dilated convolutions, nearest interpolation, softmax. Windows are mostly fixed (TIGER 264,600 samples / 517 frames; BSRNN 132,300 / 259), but clips between half a window and one window run unpadded (`inference.py` L32–34): a port must support that length or always pad, which gives slightly different output from the official code. Parity can be checked the way the pack's `tests/test_parity.py` does.+5. **In the browser** (P2, the heaviest). The browser already decodes and resamples to 44.1 kHz (`decodeAudioData`, `OfflineAudioContext`). The rest would be new: JS STFT → onnxruntime-web (WASM SIMD with threads, or WebGPU) → JS iSTFT → WAV. Model sizes 4.1 MB (TIGER) and 18.9 MB (BSRNN); fp16 would be about half (a guess). Compute is 31.6 G and 124 G MACs per second of audio: guess, minutes per minute of audio on WASM. Whether ORT-web's WebGPU provider covers LSTM and `ScatterElements` max is unknown.+6. **What the browser can do today with no model:** a live stem mixer (per-stem gain, solo and mute, export with `OfflineAudioContext`) that works whichever engine made the stems. That is part of package D1.++## 6. Cloud routes++**No hosted DBS exists.** A re-run of fal's model search (keywords separation, separate, stem, stems, isolation, dialogue, roformer, demucs, vocal, audio-to-audio; 2026-10-29) returned SAM Audio (3 endpoints), Demucs, ElevenLabs isolation, DeepFilterNet 3 and veed/clean-audio, and no dialogue/music/effects model. Replicate's search page is rendered in the browser and could not be checked; a web search found no Replicate model for this.++| Provider / endpoint | What it gives | Inputs (exact) | Price | In Fuobe today |+|---|---|---|---|---|+| fal **`fal-ai/sam-audio/separate`** | Meta SAM Audio, prompted: `target` (what the prompt names) and `residual` ("everything else"), 48 kHz by default | `audio_url`* (WAV, MP3, FLAC), `prompt`* ("speech", "piano playing"), `predict_spans` (false), `reranking_candidates` 1–7 (1), `acceleration` fast\|balanced\|quality (balanced), `max_chunk_duration` 10–60 s (60), `chunk_overlap` 0–30 s (5), `output_format` wav\|mp3 (wav) | **$0.05 per 30 s of output audio**, +$0.025 per 30 s per extra reranking candidate | researched (`paid-model-apis-3.md` L369), not in the catalog; `STEM_ALIASES` already maps target → voice and residual → background (`generations.ts` L764–767) |+| fal `fal-ai/sam-audio/visual-separate` | the same, with a video and an optional mask video (black = target) | `video_url`*, `mask_video_url`, `prompt` (""), `reranking_candidates` 1–4, `acceleration`, `max_chunk_duration`, `chunk_overlap`, `output_format` | $0.05 per 30 s of output | no |+| fal `fal-ai/sam-audio/span-separate` | the same, guided by time spans | `audio_url`*, `spans`* [{start, end, include}], `prompt`, `reranking_candidates` 1–7, `use_sound_activity_ranking`, `trim_to_span`, `acceleration`, `max_chunk_duration`, `chunk_overlap`, `output_format` | $0.05 per 30 s of output | no |+| fal `fal-ai/demucs` | music stems: vocals, drums, bass, other (+ guitar, piano with `htdemucs_6s`) | `audio_url`*, `model` (8 choices, default `htdemucs_6s`), `stems`, `segment_length`, `shifts` 1–10, `overlap` 0–1, `output_format` mp3\|wav | "$0.0007 per seconds" (audio or compute seconds is not said; Fuobe assumes audio: $0.042/min) | yes, `demucs`, fixed to `htdemucs` (`scripts/gen-cloud-models.py` L886–887) |+| fal `fal-ai/elevenlabs/audio-isolation` | the isolated voice only, no background | `audio_url` or `video_url` | $0.10 per minute | yes, `elevenlabs-voice-isolation` (L895–896) |+| fal `fal-ai/deepfilternet3` | one denoised speech track (speech enhancement, not separation) | audio | $0.001 per second | no |+| fal `veed/clean-audio` | one cleaned speech track, 48 kHz, loudness-normalized; audio or video up to 30 min | `audio_url`*, `strength` | $0.0125 per minute of input, rounded up, 1-minute minimum | researched (`paid-model-apis-3.md` L370), not in the catalog |+| Replicate `ryan5453/demucs` | Demucs v4/v3/v2 music stems | | about $0.0062 per run (page estimate; hardware text says A100, the page's JSON says A40) | no |+| Replicate `cjwbw/demucs` | older Demucs: drums, bass, vocals, other | | about $0.0087 per run on a T4 (page estimate) | no |+| Replicate `geopti/sam-audio-large` | community SAM Audio wrapper | `audio`*, `description` ("speech"), `use_span_prompting`, `span_anchors`, `predict_spans`, `output_residual` (false) | about $0.063 per run on an L40S (page estimate, ~65 s per run) | no |+| HF Space `JusperLee/DBS-Demo` | the only hosted DBS: music, sfx, speech WAVs + boundary JSON | Gradio `api_name="separate"`: upload, window, hop, model, language | free within the visitor's ZeroGPU quota; queue of 4, one at a time | not suitable as an engine |+| AudioShake API (no fal / Replicate listing) | `dialogue`, `effects`, `music_fx` (music + effects), `music_removal` (speech + effects) | | 1.5 credits/min (dialogue, effects, music_fx), 10 credits/min (music_removal); the dollar price per credit is not public | no (a new provider and key) |++**Three stems in the cloud: two SAM Audio passes** (my proposal; fal does not document it). Pass 1, prompt "speech": target = dialogue, residual = music and effects. Pass 2 on that residual, prompt "music": target = music, residual = effects. One "speech" pass alone already gives the music-and-effects bed a dub or "remove dialogue" needs.++**Price per minute.** One pass: $0.10, or $0.20 if fal counts both the target and the residual as output (the page does not say). Two passes: $0.20–0.40. Fuobe should show the range until a real bill settles it. Demucs: $0.042 per minute if billed per audio second. How well "music" against "sound effects" separates by prompt is undocumented.++**Self-hosting DBS** on a Replicate Cog model or a fal serverless app under the user's account is possible (CPU is enough; guess, well under $0.01 per audio minute) but is not a listed endpoint, and Fuobe's cloud engine uses only listed endpoints.++## 7. How it compares to what Fuobe uses today++### 7.1 What Fuobe has today++Fuobe has no three-stem (dialogue / music / effects) separation anywhere. It has a voice-against-background split for dubbing and Demucs music stems in the cloud.++- **The operation.** `separate-audio`: "audio or video → voice and background stems" (`src/lib/catalog/types.ts` L59), labelled "Separate voice" (L126), output kind audio (L193); plan check "Add the audio or video to split" (`plan.ts` L492). Hosted answers are tagged per file with `meta.stem` and sorted by `STEM_ORDER` (`payload.ts` L822–834); music, sfx and effects are not in that list, so they sort last. Chains pick stems in `src/server/generations.ts` L764–789: `STEM_ALIASES` voice = voice | vocals | speech | target, background = background | accompaniment | instrumental | residual | no_vocals; any other stem name must match exactly. So DBS's "speech" already satisfies `voice`; "music" and "sfx" can be asked for by name; but "background" never matches music or sfx, which is why graph A outputs a merged `background`. `types.ts` L894–898 (`ChainSlot.stem`) and `src/lib/av/dub.ts` L159–160 (`VOICE_STEMS`, `BACKGROUND_STEMS`) repeat these lists. The demo provider returns only voice and background (`src/server/providers/mock.ts` L287–297).+- **Cloud models** (`scripts/gen-cloud-models.py` L886–896): `demucs` (fal, `htdemucs`, $0.0007/s), `extract-soundtrack` (hidden, $0.0002/s of compute), `elevenlabs-voice-isolation` ($0.10/min).+- **Open model** `oss-voice-separate`, "MelBand RoFormer + Qwen3-ASR" (`src/lib/catalog/models.ts` L1113–1124), workflow `dub-prepare-separate-transcribe` (`library.spec.mjs` L2239–2262): `LoadAudio` → MelBand RoFormer (`MelBandRoformer_fp16`, 0.46 GB, MIT; a vocals/instrumental model) → two MP3 stems, plus Qwen3-ASR on the vocals. `vramGb` 8 covers separation and ASR together.+- **Translate & dub** (`src/lib/av/dub.ts`, `src/server/dub.ts`, `src/components/dub/dub-studio.tsx`). Cloud (L41–59, L144–153): ElevenLabs isolation gives the voice to clone, Scribe v2 transcribes it, `extract-soundtrack` then Demucs give the background (every stem but vocals), each background stem is lowered by `BACKGROUND_DB` = −3 with fal loudnorm in linear mode (L61–70), and a failed background split leaves a voice-only dub (`OPTIONAL_PREPARE`, L157). Open: `oss-voice-separate`, then `oss-mux` of the new voice over the background stem.+- **Hubs.** Audio (`src/lib/hubs.ts` L16–27): Speech, Dialogue, Voice change, Translate, Transcribe, Sound effects, Music, Loop / extend, Join, Sound for video; no split mode. Video tools (L28–37): Remove background, Remove object, Relight, Depth map, Captions, Trim, Join clips, Match colors; no sound tools. Tool modes are registered in `TOOLS` (`src/components/studio/mode-switch-studio.tsx` L56–67); the audio tools API is a zod union on `tool` (`src/server/audio-tools.ts` L24) behind `/api/audio-tools` (`?preview=1` plans and prices).+- **Studios that put a clip's sound back** with a stream-copy mux: Shorts (`src/lib/catalog/shorts.ts` L694–764), Mixed Media (`mixed-media.ts` L709–747, L869–878), Character Swap Studio ("Put the clip's sound back", `swap-studio-plan.ts` L540–549), Genjutsu (`genjutsu.ts` L1034) and Remove object (`remove-object.ts` L632). Faceless mixes a generated bed (`faceless.ts` L572–626).+- **Canvas:** one output handle `OUT` per node (`canvas.ts` L457); `separate-audio` takes audio or video (L501). **Assist:** `src/server/assist/tools.ts` documents `separate-audio` (L93, L254–259) and `background_audio` as "the background stem from separate-audio" (L260).+- **Eval harness:** no separation or dub cases and no separation metric (`scripts/eval/cases/`, `scripts/eval/metrics/fuobe_metrics/`).++### 7.2 Side by side++| Job | Fuobe today, open | Fuobe today, cloud | With DBS (open) | Cloud with this research |+|---|---|---|---|---|+| Dialogue / music / effects, three stems | none | none | **DBS**, one job, 23 MB of weights, CPU or GPU | **SAM Audio × 2**, $0.20–0.40/min |+| Voice against music-and-effects (dub, remove dialogue) | MelBand RoFormer, a vocals model: singing goes with the voice | ElevenLabs isolation (voice only) + extract + Demucs (vocals against drums/bass/other) | **DBS**: singing stays in music, effects stay in the bed | **SAM Audio "speech"**: target and residual in one call |+| Music stems (drums, bass, …) | none | Demucs | not DBS's job | Demucs |+| Clean up speech (noise, hiss) | none | ElevenLabs isolation | DBS removes music and effects; steady noise is unmeasured (§11) | veed/clean-audio, DeepFilterNet 3, ElevenLabs isolation |+| Weights / price | MelBand 0.46 GB | $0.042–0.10/min | 4.1 MB or 18.9 MB | $0.10–0.40/min |++There is no shared benchmark between DBS, MelBand RoFormer, Demucs and SAM Audio. DBS is the only one of them trained for film-style dialogue, music and effects; the others were built for music or for prompted isolation. Package D4 measures them on the same clips before any default changes.++## 8. Where it goes in Fuobe and why++DBS goes where users already handle sound, on both engines wherever a route exists.++| Where | What the user gets | Open engine | Cloud engine | Why | Priority |+|---|---|---|---|---|---|+| **Audio hub → Split soundtrack** (`/audio/split`) | Drop a song, podcast, film clip or video; get tiles for Dialogue, Music, Effects and Music & effects with play, solo, mute, level and download; presets; a free live mixer; export; "Put back on the video" | graph A on `oss-dbs-separate` | `sam-audio-separate` two passes; Demucs as "voice and background" fallback | The exact ask: remix and clean up any soundtrack. Nothing like it exists in Fuobe. | P0 (D1) |+| **Video tools → Remove dialogue** (`/video-tools/remove-dialogue`) | No dialogue / Dialogue only / Lower the music, on a video; picture untouched (stream copy); the removed stem as a download | graph A → `video-mux-audio(-replace)` | extract → SAM "speech" → `merge-audio-video` (compose for "lower") | Re-voicing, B-roll beds, posting without speech; one click from any video result | P0 (D2) |+| **Translate & dub** | The dub keeps the original score and effects where they were; only the voice changes | `dub-prepare-dbs-transcribe` as a choice next to MelBand | one SAM "speech" call replaces extract + Demucs (one bed, one loudnorm); Demucs stays as fallback | Today's open split is a vocals model and the cloud split scatters effects and pulls singing out with the dialogue | P0 (D3) |+| **Eval harness** | A separation suite: SI-SDR on synthetic mixes, ASR WER on the voice stem, blind A/B, speed on this host | DBS-TIGER vs DBS-BSRNN, mono vs fast stereo vs each channel, DBS vs MelBand | SAM Audio vs Demucs | Decides every default above with numbers instead of guesses | P1 (D4) |+| **Clean up dialogue** (Audio hub, also on video) | Clear speech from a noisy or musical recording: keep the dialogue, drop or lower the rest, optionally denoise | DBS voice (+ bed at −18 dB) | veed/clean-audio or DeepFilterNet 3; ElevenLabs isolation | The owner's "cleaning up audio" | P1 (D5) |+| **Transcribe, Captions, Lipsync, Genjutsu transcribe, Swap Studio transcript** | "Clean the voice first": tighter transcripts and lip sync; after lipsync the music and effects go back | DBS voice before Qwen3-ASR / InfiniteTalk / LatentSync; `video-mux-audio` after | ElevenLabs isolation (in the catalog); SAM residual to put the bed back | Music under speech hurts ASR and lip sync | P1 (D6) |+| **Shorts, Mixed Media, Genjutsu, Remove object, Character Swap Studio, Faceless** | "Original sound": Everything / Music & effects only / Dialogue only / Lower the music; Faceless "Use a clip's soundtrack as the bed" | DBS before the existing stream-copy mux | SAM "speech" before compose + merge; `visual-separate` with the studio's SAM mask to remove one person's voice (cloud only) | When a person is swapped or removed, their speech should usually go too | P1 (D7) |+| **Canvas** | A Split soundtrack node with Dialogue, Music, Effects and Music & effects handles | `oss-dbs-separate` | `sam-audio-separate` / `demucs` (a handle a model cannot fill is disabled with a reason) | Wire stems into Transcribe, Change voice, a concatenator or a mux | P1 (D8) |+| **Assist and MCP** | "Remove the dialogue from this video", "give me just the music", "dub this but keep the score" | `split_soundtrack`, `remove_dialogue` tools on `oss-dbs-separate` | same tools on SAM / Demucs, priced first | One sentence does it | P1 (D9) |+| **On this device (beta)** | Split a short clip in the browser, nothing installed, no key | ONNX + onnxruntime-web | n/a (falls back to the cloud) | No ComfyUI and no key needed; unverified | P2 (D10) |++Settings → Models & licences, the install script and the demo provider are not placements of their own: they ship with D1.++## 9. Build plan++Packages in priority order. The full brief of each one (goal, exact spots, both engines, UI, tests, browser checks, what this machine can verify, licences) is in the JSON twin, `plan.packages[].brief`; the sections below are the short form. D1 lays the shared ground (pack pin, weights, graph A, the model, the stem names, licences, demo stems, the cloud SAM model); D2–D9 build on D1's commit. Every package: both engines where a route exists and an honest note where one does not; prices shown before running (`?preview=1` or the studio's estimate); tests; a browser check at 1440 px and 390 px in light and dark with no horizontal scroll; `pnpm typecheck`, `pnpm lint`, the targeted tests and the full vitest run; a commit per step.++| # | Package | Priority | Depends on | Effort |+|---|---|---|---|---|+| D1 | Split soundtrack in the Audio hub (and the DBS ground) | P0 | — | large |+| D2 | Remove dialogue for videos (Video tools) | P0 | D1 | small |+| D3 | Translate & dub keeps the score and effects | P0 | D1 | medium |+| D4 | Separation evaluation (scripts/eval) | P1 | D1 | medium |+| D5 | Clean up dialogue | P1 | D1 | small |+| D6 | Clean the voice first (Transcribe, Captions, Lipsync) | P1 | D1 | small |+| D7 | "Original sound" choice in the studios | P1 | D1, D2 | medium |+| D8 | Canvas Split soundtrack node | P1 | D1 | medium |+| D9 | Assist and MCP tools | P1 | D1, D2 | small |+| D10 | On this device (beta): DBS in the browser | P2 | D1 | large |++### D1 · Split soundtrack in the Audio hub (P0)++- **Ground (both engines).** Pin the pack and fetch the weights (§4.5). Hand-build graph A (§4.4) with the spec entry: capability `separate-audio`, bindings `audio`, `separationModel`, `channels`, outputs voice / music / effects / background / report, `requiredModels` (BSRNN pair) and `optionalModels` (TIGER pair), `packs: ['ComfyUI-DBS']`, `vramGb` 0 with a note "CPU OK, ~1.7 GiB on CUDA", `license` "DBS weights Apache-2.0 (JusperLee; trained on DnR v2, CC BY 4.0); ComfyUI-DBS code MIT; vendored DBS code Apache-2.0 with MIT notices". ModelDef `oss-dbs-separate` "DBS (dialogue, music, effects)" in `src/lib/catalog/models.ts` beside `oss-voice-separate` (L1113), tagline "Splits a soundtrack into dialogue, music and effects · 23 MB · CPU or GPU · Apache-2.0". Choose the DBS model by host (`devices[0].type`, §4.4). Stems: add `music: ["music"]` and `effects: ["effects", "sfx"]` to `STEM_ALIASES` (`generations.ts` L764); add `music`, `sfx`, `effects` to `STEM_ORDER` (`payload.ts` L822) after the voice names; update the `separate-audio` comment (`types.ts` L59). `dub.ts`'s own lists (L159–160) already accept DBS's `voice` and `background`. Demo: `mock.ts` L287–297 returns four stems (voice, music, effects, background) for DBS and for the cloud split. Licences: a `NODE_PACKS` row (`licences.ts` ~L406). Cloud model `sam-audio-separate` from the research row through `scripts/gen-cloud-models.py` (fal `fal-ai/sam-audio/separate`; fields `audio_url`, `prompt`, `output_format` wav, `acceleration`; price $0.05 per 30 s of output with the "both outputs may be billed" note).+- **Tool.** `{ id: "split", label: "Split soundtrack" }` in `HUB_MODES.audio` (`hubs.ts`, after Transcribe), `TOOLS.audio.split` (`mode-switch-studio.tsx` L56), planner `src/lib/av/split.ts`, a `split` variant in `AudioToolBody` (`src/server/audio-tools.ts` L24) and `/api/audio-tools`. Open: one job on `oss-dbs-separate`. Cloud: pass 1 SAM "speech" → pass 2 SAM "music" on the `background` (residual) stem, relabelled Music and Effects; a cheaper "Dialogue and the rest" (one pass) and Demucs ("Voice / Background, a music model") as choices.+- **UI.** Input: drop or pick audio or video (Library, `?audio=` / `?video=`). Options: engine; open "Fast (DBS-BSRNN) / Best (DBS-TIGER)" with the host's pick preselected and "Stereo stems (takes about twice as long)"; a time estimate on the open engine and a price on the cloud. Result: four stem tiles (waveform, play, solo, mute, level −24…+6 dB, Download, in the Library), presets No dialogue / Dialogue only / Music only / Music under dialogue (−12 dB), a live WebAudio mixer, Export mix (OfflineAudioContext → WAV → Library), and for a video source "Put back on the video" (open `video-mux-audio-replace`, cloud `merge-audio-video`). Next-step chip "Split soundtrack" on audio and video results (`src/lib/output-actions.ts` L105–131, `NEXT_STEPS` L165–166).+- **Tests.** Planner per engine and option; prices; stem aliasing and ordering; mock stems; manifest entry, pins and folder models; licence row; mixer maths (dB → gain, presets).+- **Verify here.** Build and validate on an isolated worker with the pack; real CPU runs of 10–30 s clips there; record the measured speed in the doc's §2.4.++### D2 · Remove dialogue for videos (P0)++`{ id: "remove-dialogue", label: "Remove dialogue" }` in `HUB_MODES["video-tools"]` and `TOOLS["video-tools"]`; outcomes No dialogue (default) / Dialogue only / Lower the music (slider, default −12 dB). Open: graph A → the `mux` op (§4.4, no new graph). Cloud: `extract-soundtrack` → SAM "speech" → `merge-audio-video` (No dialogue: residual; Dialogue only: target; Lower: `ffmpeg-loudnorm` linear on the residual, which can only lower, then `compose-timeline`-style mix, then merge). The removed stem is kept as a second output. A "Remove dialogue" chip on video results. Tests: plans, chain stems, mux choice, prices. Browser: before/after players at both widths.++### D3 · Translate & dub keeps the score and effects (P0)++Open: graph B `dub-prepare-dbs-transcribe` and ModelDef `oss-dbs-voice-separate` "DBS + Qwen3-ASR"; a "Voice split" choice in Dub studio (DBS / MelBand RoFormer), default unchanged until D4 reports. Cloud: replace `sound` + `background` (extract + Demucs, three beds) in `prepareSteps` (`dub.ts` L116, cloud branch L144–158) with extract + `sam-audio-separate` prompt "speech": one bed (`residual`), one loudnorm at `BACKGROUND_DB`, one compose track; Demucs stays the fallback (`OPTIONAL_PREPARE`). Keep ElevenLabs isolation for the clone voice. Copy: "Keeps the music and sound effects of the original". Tests in the dub suites.++### D4 · Separation evaluation (P1)++A `separation` metric family in `scripts/eval/metrics/fuobe_metrics` (SI-SDR and SDR per stem, mixture-consistency check, peak and level of the bed, ASR WER of the voice stem against the known text), synthetic test mixes built from licensed or generated material (Fuobe TTS speech, generated music and effects) with known stems, cases in `scripts/eval/cases/separation.json` (DBS-TIGER, DBS-BSRNN, mono / fast stereo / each channel, MelBand, Demucs, SAM Audio), the existing blind A/B page for real clips, and a speed record on this host. Outputs decide D1's and D3's defaults.++### D5 · Clean up dialogue (P1)++A "Clean up dialogue" preset in Split soundtrack plus a direct entry in the Audio hub and on videos. Open: DBS voice, optionally the bed at −18 dB (graph C or the browser mixer). There is no open denoiser in Fuobe's research, so the open route removes music and effects but not hiss or hum (say so). Cloud: add `veed/clean-audio` (research row exists) and `fal-ai/deepfilternet3` (needs a research record first) through `gen-cloud-models.py`; ElevenLabs isolation stays.++### D6 · Clean the voice first (P1)++A switch "Clean the voice first" in Transcribe (`TRANSCRIBE_STUDIO`, `studios.ts` L259), Captions (Video tools), Lipsync (`LIPSYNC_STUDIO`, L94), Genjutsu transcribe (`src/app/api/genjutsu/transcribe/route.ts`) and the Swap Studio transcript (`src/server/swap-studio.ts` L713). Open: DBS voice (chain `stem: "voice"`) before Qwen3-ASR, InfiniteTalk or LatentSync; after lipsync, `video-mux-audio` puts the `background` back. Cloud: ElevenLabs isolation before Scribe v2 or the lipsync model; the bed back from a SAM residual. Default on for video sources, off for audio-only speech (a guess until D4).++### D7 · "Original sound" choice in the studios (P1)++Shorts (`shorts.ts` L694–764), Mixed Media (`mixed-media.ts` L709–747), Genjutsu (`genjutsu.ts` L1034), Remove object (`remove-object.ts` L632) and Character Swap Studio (`swap-studio-plan.ts` L540–549) get "Original sound: Everything / Music & effects only / Dialogue only / Lower the music". Open: graph A on the working clip, then the existing stream-copy mux with the chosen stem. Cloud: SAM "speech" then compose + merge; for "remove only this person's voice", `fal-ai/sam-audio/visual-separate` with the studio's SAM mask video (cloud only; the open engine has no per-person route). Faceless: "Use a clip's soundtrack as the bed" (DBS background → `oss-audio-loop` → `oss-mux`; cloud SAM residual → loop → compose).++### D8 · Canvas Split soundtrack node (P1)++A `split-soundtrack` utility node in `src/lib/catalog/canvas.ts` (node types L44–62, `PALETTE` L259ff) and `src/components/canvas/nodes.tsx`, with four output handles (Dialogue, Music, Effects, Music & effects) mapped to `ChainSlot.stem` voice / music / effects / background. Multi-handle output is new work: today every node has one `OUT` (L457). A handle the chosen model cannot fill (Demucs has no effects stem) is disabled with a reason.++### D9 · Assist and MCP tools (P1)++`split_soundtrack({ media, keep?: ["dialogue","music","effects"], levels_db? })` and `remove_dialogue({ video, keep?: "dialogue"|"bed", music_db? })` in `src/server/assist/studio-tools.ts`, exposed through `src/server/mcp.ts`, priced with `estimate_job` first; document the new stems in `src/server/assist/tools.ts` L93 and L254–260. Both engines through D1's and D2's planners.++### D10 · On this device (beta): DBS in the browser (P2)++An ONNX export of the network core (§5, item 4) made by a script in the eval venv, a parity test against PyTorch, JS STFT / iSTFT / overlap-add, onnxruntime-web (WASM, WebGPU where it works), an "On this device (beta)" engine in Split soundtrack for clips up to a minute, and real separation in demo mode. Unverified; ship only if parity and speed hold.++## 10. Risks++- **Registry flag.** dbs-soundtrack-separation 0.1.0 is `NodeVersionStatusFlagged` with no public reason. The node code has no network or exec path and the Registry zip matches git at `f656e53`. The pack is new (released 2026-10-19), from one author, with 12 Registry downloads. Pin the commit and record the flag.+- **The pack's video graph** decodes every frame and re-encodes the picture (about 45 GB per minute of 1080p30 at float32, my arithmetic). Use `LoadAudio` plus the stream-copy mux graphs.+- **Domain.** Trained only on synthetic English DnR v2 mixes. Real films, other languages, crowd or shouted speech and songs with vocals are unverified; singing goes to "music".+- **Music against effects is modest** (5.7–7.8 dB). Promise clean dialogue and dialogue-free beds, not a studio-grade music/effects split. Because stems sum exactly to the input, any missed speech stays in the bed (guess: audible in quiet scenes).+- **CPU speed.** DBS-TIGER, the pack's default, runs at 0.49x real time on a 24-thread desktop; Fuobe should default to DBS-BSRNN on CPU hosts. On Fuobe's 4-CPU host, guess 0.3–0.6x real time. `each channel` doubles the time for stereo, 6x for 5.1.+- **Channels.** `mono` collapses stereo stems; the fast stereo bed (§2.1) is a guess until heard; for more than 2 channels it would also take the speech out of the LFE and surrounds. Fuobe's media probe does not read channel counts (`src/lib/media-probe.ts` L22, L152–163); the browser can (`AudioBuffer.numberOfChannels`).+- **`AudioMerge` normalizes peaks** (`nodes_audio.py` L747–749): a bed or remix that peaks over full scale is scaled down as a whole, changing its level.+- **Library tooling.** Without the folder-model change (§4.5) the weights are invisible to install and missing-model help, and validation passes even with no weights.+- **Untested combination.** The pack's CI covers ComfyUI v0.38.0 and v0.42.1 on Python 3.10 and 3.12; Fuobe runs v0.41.0-7 on Python 3.13. The APIs exist; there is no test evidence for 3.13.+- **Devices.** On ROCm `auto` uses the AMD GPU (untested by the pack); offer `cpu` as a fallback setting. CUDA output is not bit-deterministic.+- **Cloud.** No hosted DBS. SAM Audio needs two prompted passes for three stems, returns 48 kHz, and may bill target and residual both; prompted "music" against "effects" is undocumented; its weights are under Meta's gated SAM License (information). Switching the cloud dub from Demucs to SAM Audio raises the per-minute price (about $0.10–0.20 against $0.042) but drops two loudnorm steps: listen before changing the default.+- **Licences (information).** Code and weights are MIT and Apache-2.0, data CC BY 4.0. Show the DnR v2 attribution and the MIT notices. Some DnR source clips may carry NC licences (unverified).++## 11. Unknowns++- Separation quality on real film and video soundtracks, other languages and music with vocals, compared with MelBand RoFormer, Demucs `htdemucs` and SAM Audio on the same clips (D4).+- Speed on Fuobe's CPU-only host (4 logical CPUs, 14.3 GB RAM, torch 2.14.1+cpu, Python 3.13), and whether single-thread no-NNPACK helps DBS-TIGER there (D1, D4).+- Whether the fast stereo bed (§2.1) sounds right on real stereo mixes.+- Why the Comfy Registry flagged 0.1.0.+- Whether an ONNX export of the network core works and matches PyTorch (`scatter_reduce` amax with `include_self`, TopK, dynamic-length windows), and which ops onnxruntime-web's WebGPU provider supports (bidirectional LSTM, `ScatterElements` max).+- How fal bills SAM Audio (input length or summed target + residual), how well prompts like "music" and "sound effects" split the residual, and whether Demucs's "$0.0007 per seconds" counts audio or compute seconds.+- Whether the authors will release more DBS checkpoints (MUSDB 4-stem, EchoSet), and whether fal or Replicate will host DBS. Replicate could not be ruled out with certainty.+- AudioShake's dollar price per credit.+- Replicate `ryan5453/demucs` hardware (A100 in the text, A40 in the page's JSON); all Replicate prices are page estimates.+- Where steady noise (hiss, hum, room tone) lands: sfx or speech. It matters for "Clean up dialogue".+- The licences of individual DnR v2 source clips and whether they matter for the Apache-2.0 weights or their outputs.++## Sources (read 2026-10-29)++- ComfyUI-DBS: https://github.com/hiroki-abe-58/ComfyUI-DBS cloned at `f656e53434b5485c148a2866fbd6ddc6b6152ed6` (HEAD = main = tag v0.1.0 per `git ls-remote`): `README.md`, `LICENSE`, `NOTICE`, `.comfyignore`, `requirements.txt`, `pyproject.toml`, `__init__.py`, `dbs_comfy/nodes.py`, `paths.py`, `runtime.py`, `vendor/UPSTREAM.md`, `vendor/MANIFEST.sha256` (`sha256sum -c`: all OK), the vendor shims, `tools/download_model.py`, `tools/model_files.sha256`, `docs/VERIFICATION.md`, `workflows/api/*.json`, `.github/workflows/ci.yml`; a grep scan of every `.py` outside `tests/`.+- Comfy Registry: https://api.comfy.org/nodes/dbs-soundtrack-separation and `/versions`; node zip https://cdn.comfy.org/hiroki-abe-58/dbs-soundtrack-separation/0.1.0/node.zip (listed and hashed, not extracted).+- Upstream: https://github.com/JusperLee/Dynamic-Band-Splitting cloned at `ff526463a58ee0278e7bd05c4b8bce112b743e34`: `README.md`, `CITATION.cff`, `LICENSE`, `THIRD_PARTY.md`, `pyproject.toml`, `requirements.txt`, `demo/README.md`, `demo/app.py`, `demo/backend.py` L57–155, `project_page/index.html` (results), `dbs/engine/inference.py`, `dbs/modules/stft.py`, `band_split.py`, `dbs.py` L300–332, `dbs/models/tiger.py` L275–285, L454–526, L640–690.+- Paper: https://export.arxiv.org/api/query?id_list=2610.14993 and https://arxiv.org/abs/2610.14993.+- Hugging Face: https://huggingface.co/api/models/JusperLee/DBS-TIGER-DnR and `/tree/main`; https://huggingface.co/api/models/JusperLee/DBS-BSRNN-DnR and `/tree/main`; READMEs and configs at the pinned revisions (hashed); safetensors headers by HTTP range request; https://huggingface.co/api/models?author=JusperLee ; https://huggingface.co/api/models/JusperLee/TIGER-DnR ; https://huggingface.co/api/models/oulianov/DBS-TIGER-DnR ; https://huggingface.co/api/spaces/JusperLee/DBS-Demo ; https://huggingface.co/api/models/facebook/sam-audio-large (and -base, -small) and its `LICENSE`.+- Dataset: https://zenodo.org/api/records/6949108 (DnR v2.0); Bandit: https://github.com/kwatcharasupat/bandit and https://zenodo.org/api/records/10160698.+- fal: https://fal.ai/models/fal-ai/sam-audio/separate/llms.txt , …/visual-separate/llms.txt , …/span-separate/llms.txt , https://fal.ai/models/fal-ai/demucs/llms.txt , https://fal.ai/models/fal-ai/elevenlabs/audio-isolation/llms.txt , https://fal.ai/models/fal-ai/deepfilternet3/llms.txt , https://fal.ai/models/veed/clean-audio/llms.txt ; the model search https://fal.ai/api/models?keywords=… (2026-10-29).+- Replicate: https://replicate.com/ryan5453/demucs , https://replicate.com/cjwbw/demucs , https://replicate.com/geopti/sam-audio-large ; Demucs licence https://raw.githubusercontent.com/facebookresearch/demucs/main/LICENSE .+- AudioShake: https://developer.audioshake.ai/models.md , https://developer.audioshake.ai/billing.md .+- Live ComfyUI (read-only GETs): `http://127.0.0.1:8188/system_stats` (v0.41.0, torch 2.14.1+cpu, Python 3.13.16, `--cpu`, 14.3 GB RAM) and `/object_info`; source `/home/user/ComfyUI` @ `fc04da91`: `comfy/audio.py` L36, `comfy/model_management.py` L195–220, `comfy_api/latest/_io.py` L133, `folder_paths.py` L382–400 and L445–491, `comfy_extras/nodes_audio.py` L198–335, L400–420, L520–600, L617–790, `server.py` L406–418 and L783–820; `nproc` = 4.+- Fuobe @ `claude/fuobe-parity-4` (`7d7a765`): `src/lib/catalog/types.ts`, `plan.ts`, `payload.ts`, `models.ts`, `canvas.ts`, `shorts.ts`, `mixed-media.ts`, `faceless.ts`, `genjutsu.ts`, `remove-object.ts`, `swap-studio-plan.ts`; `src/server/generations.ts`, `providers/mock.ts`, `providers/comfyui.ts`, `audio-tools.ts`, `swap-studio.ts`, `assist/tools.ts`, `assist/studio-tools.ts`; `src/lib/av/dub.ts`, `src/lib/hubs.ts`, `src/lib/studios.ts`, `src/lib/output-actions.ts`, `src/lib/licences.ts`, `src/lib/media-probe.ts`; `src/components/studio/mode-switch-studio.tsx`, `src/components/workflows-view.tsx`; `src/app/api/comfyui/route.ts`; `scripts/gen-cloud-models.py`; `scripts/comfy/install-comfyui.sh`, `install-isolated-worker.sh`, `library.spec.mjs`, `build-library.mjs`, `validate-workflows.mjs`, `hand-built/dub-prepare-separate-transcribe.json`, `hand-built/video-mux-audio*.json`; `scripts/eval/metrics/requirements.*`; `docs/research/paid-model-apis-3.md` L365–372, `comfyui-oss-3.md`.