Try it out: https://soundseg.com/

February 18, 2026 ยท View on GitHub

Open In Colab arXiv

SoundSeg

๐Ÿ† ๐ŸŽŠ Checkout our Backdrop Builds V4 finalist page: https://backdropbuild.com/builds/soundseg

Introduction

SoundSeg is an advanced audio processing project, focused on segmenting and analyzing sound data. The core of the project revolves around machine learning models, specifically designed for audio source seperation of songs into the vocal component.

Please see the projects preprint for more details: Spectral Mapping of Singing Voices: U-Net-Assisted Vocal Segmentation

Example Audio and Spectrograms

Original Audio

Predicted Output

Spectrograms

  • Mixture:
    Mixture Spectrogram
  • Vocal (Predicted):
    Vocal Spectrogram

System Model

image

Contents

  • MUSDB_README.md: Provides details on the MUSDB 2018 Dataset, crucial for training and testing the models.
  • demo.ipynb: A Jupyter notebook demonstrating the capabilities of SoundSeg.
  • src: Contains the source code of the project.
  • Scripts: Shell scripts for preprocessing (0_preprocess.sh), training (1_train.sh), and evaluation (2_eval.sh).
  • Python Modules: Core modules like model.py, preprocessing.py, train.py, evaluate.py, etc., for model development and data handling.
  • requirements.txt: Lists all the necessary dependencies.
  • analysis.ipynb: Additional Jupyter notebook for deeper analysis.

Usage

  1. Preprocessing: Run the 0_preprocess.sh script to prepare your data.
  2. Training: Execute the 1_train.sh script to train the models.
  3. Evaluation: Use the 2_eval.sh script for model evaluation.
  4. Demo: Explore demo.ipynb for hands-on examples and usage demonstrations.

Open In Colab

  1. Analysis: Delve into analysis.ipynb for in-depth analytical insights.

Model Weights

Download the pre-trained model weights from the following links:

Results

SDRSIRSARNormalizationScalerLoss
7.125.27.2frequencyMin/MaxMAE
7.125.17.2timeMin/MaxMAE
6.724.86.8frequencyMin/MaxMSE
5.723.95.8timeQuantileMAE
5.623.35.7timeMin/MaxMSE
4.822.64.9timeQuantileMSE
-0.916.6-0.6frequencyQuantileMSE
-2.115.8-1.8frequencyQuantileMAE

Acknowledgments

Special thanks to the creators of the MUSDB 2018 Dataset and all contributors to this project.