Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.23 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.23 KB

Related Frontend Project - Music Recombiner

Signal Separation API

FastAPI based signal separation API for separating music files.

Working

FastAPI server takes the request and Celery server performs the signal separation.

Since signal separation is a very GPU intensive task, it is controlled by celery as a background worker to avoid blocking signal separation API call.

Spleeter is used for signal separation. SoX is used for augmentation.

Running

poetry install
poetry shell

FastAPI

./run.sh

Celery

celery -A task worker --loglevel=INFO # make sure to have api in PYTHONPATH / installed

Separator

Default uses spleeter. For custom separator inherit ABCSeparator and use it in worker.

Augmentations

Default includes volume and reverb augmentation. More augmentations can be added in AudioEffectHelper

Tests

Automated tests