MelBandRoFormer 오디오 분리
오디오 파일을 로드하고 MelBandRoFormer 모델을 사용하여 보컬과 반주 트랙으로 분리합니다. 분리된 보컬과 배경 음악에 대한 두 개의 MP3 파일을 출력합니다.
예시 사용해 보기
이 워크플로 정보
이 ComfyUI 워크플로는 MelBandRoFormer 모델을 사용해 고품질 보이스 분리를 수행합니다. 하나의 혼합 오디오 트랙을 입력으로 받아 두 개의 스템으로 분리합니다: 분리된 보컬 및 반주(악기). 파이프라인은 LoadAudio로 소스 파일을 불러오고, MelBandRoFormerModelLoader가 models/diffusion_models에서 사전 학습 가중치(MelBandRoformer_fp16.safetensors)를 로드합니다. 핵심 분리는 MelBandRoFormerSampler에서 이루어지며, 추론을 실행해 두 개의 오디오 텐서(보컬용 1개, 배경 음악용 1개)를 출력하고, 페어로 연결된 SaveAudioMP3 노드를 통해 내보낼 수 있도록 준비합니다.
기술적으로 MelBandRoFormer는 밴드 분할된 시간–주파수 공간에서 동작하는 트랜스포머 기반 아키텍처를 적용해 소스 성분을 추정합니다. 실사용에서는 보컬을 추출할 때 반주를 억제하고, 반주를 추출할 때 보컬을 억제하는 마스크를 학습해 음악적 아티팩트를 줄이고 더 깨끗한 스템을 얻습니다. 포함된 MarkdownNote는 캔버스 안에서 인라인 가이드를 제공합니다. 노드 기반 워크플로이므로 SaveAudioMP3를 WAV 저장 노드로 쉽게 교체하거나, 출력 파일 이름을 변경하거나, (노드 버전에 따라 노출되는 경우) Sampler의 chunking/overlap 같은 옵션을 조정해 속도, 메모리 사용량, 분리 품질의 균형을 맞출 수 있습니다.
질문과 답변
A modern GPU is strongly recommended for reasonable speeds. Some setups may run on CPU, but processing will be significantly slower. If you encounter memory issues on GPU, reduce any chunk size or increase overlap settings in the Sampler (if available) to manage VRAM.
LoadAudio typically accepts common formats like WAV, MP3, and FLAC. The provided workflow saves MP3 stems via SaveAudioMP3. If you need lossless output, swap the saver node for a WAV variant in ComfyUI.
Try increasing overlap or adjusting chunk size in MelBandRoFormerSampler if those controls are exposed by your node version. Also ensure the input isn’t clipped and avoid overly compressed masters when possible. For final polish, apply light noise gating or spectral denoising to the vocal stem.
This workflow is configured for two stems: vocals and instrumental. For multi-stem separation, use a model and workflow designed for 4-stem or 5-stem outputs, or create a variant that chains models targeting specific sources.