ComfyUI-AudioSeparator
Custom node for ComfyUI integrating audio-separator library that separates audio stems (vocals vs instrumental), removes noise, and fixes audio artifacts using GPU…
🎧 ComfyUI Audio Separator
<a id="english"></a>English
A custom node for ComfyUI that integrates the powerful audio-separator library (based on UVR5).
It allows you to separate audio stems (vocals vs instrumental), remove background noise, and fix audio artifacts using GPU acceleration directly within your workflows.
✨ Features
- GPU Acceleration: Uses your NVIDIA card (CUDA) for fast processing.
- UVR5 Architecture: Supports MDX-Net and VR Architecture models.
- Local Models: Automatically scans the
ComfyUI/models/UVRfolder for.pthand.onnxmodels. - Flexible Settings: Adjustable Window Size, Aggression, and Batch Size.
📥 Installation
-
Clone this repository into your
custom_nodesfolder:cd ComfyUI/custom_nodes/ git clone https://github.com/ddontsov93/ComfyUI-AudioSeparator -
Install dependencies:
pip install -r requirements.txt(If using the portable version of ComfyUI, run this command using the embedded python:
python_embeded\python.exe -m pip install -r requirements.txt)
🤖 Models Setup (Important!)
This node requires UVR models to work.
- The node will automatically create a folder:
ComfyUI/models/UVR. - You need to download model files (
.pthor.onnx) and place them into this folder.
Recommended Model for Denoising / Removing Artifacts:
- 1_HP-UVR.pth (Great for removing tonal artifacts and noise): 👉 Download Link
Other popular models (UVR-MDX-NET-Inst_HQ_3, etc.) can also be used.
🚀 Usage
- Add the node: Audio -> Processing -> Audio Separator.
- Connect your Audio input (e.g., from
Load Audioor TTS node). - Select the model from the list.
- Outputs:
Vocals (Clean): Usually contains the clean voice.Instrumental (Noise): Contains the removed noise/music.
<a id="русский"></a>Русский
Кастомная нода для ComfyUI, внедряющая мощную библиотеку audio-separator (основанную на UVR5).
Позволяет разделять аудио на дорожки (голос/минус), удалять фоновый шум и артефакты генерации, используя ускорение видеокарты (GPU) прямо внутри ваших воркфлоу.
✨ Возможности
- GPU Ускорение: Использует видеокарту NVIDIA (CUDA) для быстрой обработки.
- Архитектура UVR5: Поддержка моделей MDX-Net и VR Architecture.
- Локальные модели: Автоматически сканирует папку
ComfyUI/models/UVRна наличие файлов.pthи.onnx. - Гибкие настройки: Настройка размера окна (Window Size), агрессии (Aggression) и размера батча.
📥 Установка
-
Склонируйте репозиторий в папку
custom_nodes, нужно выполнить в ерминале comfy:cd ComfyUI/custom_nodes/ git clone https://github.com/ddontsov93/ComfyUI-AudioSeparator -
Установите зависимости:
pip install -r requirements.txt(Если используете портативную версию ComfyUI, выполняйте команду через встроенный python:
python_embeded\python.exe -m pip install -r requirements.txt)
🤖 Настройка моделей (Важно!)
Для работы ноды требуются файлы моделей UVR.
- При первом запуске нода создаст папку:
ComfyUI/models/UVR. - Вам нужно скачать файлы моделей (
.pthили.onnx) и положить их в эту папку.
Рекомендуемая модель для шумоподавления / удаления артефактов:
- 1_HP-UVR.pth (Отлично удаляет тональные писки и шум): 👉 Ссылка на скачивание
Вы также можете использовать любые другие модели UVR (UVR-MDX-NET-Inst_HQ_3 и т.д.).
🚀 Использование
- Добавьте ноду: Audio -> Processing -> Audio Separator.
- Подключите аудио (например, от
Load Audioили TTS ноды). - Выберите модель из списка.
- Выходы:
Vocals (Clean): Обычно содержит чистый голос.Instrumental (Noise): Содержит удаленный шум/музыку.