Spectra is a Streamlit-based web application for music source separation using Demucs. The app allows users to upload audio files and separate them into individual components such as vocals, drums, bass, and other instruments.
Check out the live demo of this application on Hugging Face Spaces: Live Demo
Note: The live demo may run slower due to the use of 2 vCPUs and 16 GB RAM.
- Audio File Upload: Supports MP3 and WAV file formats.
- Model Selection: Choose from different Demucs models with descriptions.
- Audio Separation Options: Select output format and configure shift trick and overlap.
- Batch Processing: Process multiple audio files at once.
- Download Outputs: Download all separated tracks in a ZIP file.
-
Clone the repository:
git clone https://github.com/vivekd16/Spectra
-
Navigate to the project directory:
cd spectra
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run app.py
- Upload your audio files using the file uploader.
- Select the desired Demucs model and configure the separation options.
- Click on "Separate Audio" to start the separation process.
- Download the separated tracks as a ZIP file.
Vivek Deshmukh |
Himanshu Lohokane |
Maviya Mahagami |
- Demucs by Facebook Research: A state-of-the-art music source separation tool used in this project.