Skip to content
Trimmer for generating the SiSEC MUS 2018 previews
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
Pipfile
Pipfile.lock
README.md fix bug optimize json output May 29, 2018
generate_previews.py
generate_submission_previews.py
requirements.txt

README.md

SISEC MUS 2018 Preview Generator

This repository aims to generate 30s excerpts from both the MUSDB18 music data set and the estimated sources submitted by participants of SiSEC MUS 2018.

Previews are generated from a pre-defined cut-list, such as those created using sigsep-mus-cutlist-generator.

Usage

  1. Install python3.6 requirements using pip install -r requirements.txt

  2. Trim the reference MUSDB18 using

    python generate_previews.py --musdb /path/to/musdb --previews 30s_previews.csv -o previews_output_dir
    

    where 30s_previews.csv is the cut-list.

  3. Trim the user submissions using:

    python generate_submission_previews.py --estimate_root_dir /path/to/my_estimations --previews 30s_previews.csv -o previews_output_dir
    

3.1. Using GNU Parallel to cut multiple submission folders

parallel python generate_submission_previews.py --estimate_root_dir /path/to/all_submissions/{/} --previews 30s_previews.csv  -o /path/to/cut_submissions/{/} ::: /path/to/all_submissions/*
You can’t perform that action at this time.