Skip to content

vitrioil/signal_separation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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