Nodes/comfyui-timesaver/TS Music Stems
ComfyUI Node

TS Music Stems

Split music into stems. BS-RoFormer SW gives six; Mel-Band RoFormer gives vocals and instrumental and is the better choice when that is all you need; Demucs is kept for older workflows.

By AlexYez·Created 2 years ago·Updated 3 days ago· 11
TS Music Stems
  • audio
  • vocal
  • bass
  • drums
  • others
  • instrumental
  • guitar
  • piano
model_namebs_roformer_sw
deviceauto
shifts2
overlap0.50
jobs0
precisionfp16
CategoryTS/Audio

Inputs (7)

NameTypeDefaultDescription
audioAUDIOAudio track to split into stems.
model_nameCOMBObs_roformer_swbs_roformer_sw: six stems, best overall. melband_roformer: vocals + instrumental only, and better at that one split than any six-stem model. htdemucs*: the older engine, kept so saved workflows keep producing what they always produced.
deviceCOMBOautoCompute device. auto picks GPU when available, otherwise CPU.
shiftsINT20–10Demucs only: TTA passes. 2 = high quality, 4 = very slow. Ignored by the RoFormer engines.
overlapFLOAT0.500–0.9Chunk overlap for smoother stitching. The RoFormer engines cap this at 0.5, which is all their windowing can use.
jobsINT00–16Demucs only: CPU workers for pre-processing. 0 = auto. Ignored by the RoFormer engines.
precisionoptCOMBOfp16RoFormer engines only. fp16 runs about twice as fast on half the VRAM; measured against fp32 on real music its error stays at -61 dBFS or below, under the noise floor of the recording. bfloat16 is not offered: these models build their mask through view_as_complex, which does not accept it.

Outputs (7)

NameTypeDescription
vocalAUDIOIsolated vocals stem.
bassAUDIOIsolated bass stem.
drumsAUDIOIsolated drums stem.
othersAUDIOEverything that is not vocals, bass or drums. With BS-RoFormer SW that includes guitar and piano, which are also available separately below.
instrumentalAUDIOThe full mix minus vocals.
guitarAUDIOBS-RoFormer SW only. Blocked on the other engines.
pianoAUDIOBS-RoFormer SW only. Blocked on the other engines.