Giter Site home page Giter Site logo

pywsj0-mix's Introduction

wsj0-mix generation scripts, in Python

The generate_wsjmix.py reproduces the original Matlab generation scripts for 2 and 3 sources (around 70dB SNR between Matlab and Python output files), and also works for 4 and 5 sources, as introduced here.

Many thanks to @Jonathan-LeRoux for providing activlev outputs, verifying the match and debugging the code!

Usage

To generate wsj0-mix data, run (after git clone pywsj0-mix && pywsj0-mix):

python generate_wsjmix.py -p wsj0_path -o output_path -n n_sources -sr sr

Where:

  • wsj0_path is the path to the folder containing the wsj0 folder (itself containing si_trs, si_et_05, etc.).

  • output_path is the output folder where 2speakers, 3speakers folder will be created. Default ./wsj0-mix

  • n_sources is the number of sources you'd like to simulate (from 2 to 5). Default 2.

  • sr is the sampling frequency. Default 8000.

To generate all the possible versions of wsj0-mix (around 330Go), run

for nsrc in 2 3 4 5; do
  for sr in 8000 16000; do
    python generate_wsjmix.py -p wsj0_path -o output_path -n $nsrc -sr $sr
  done
done

pywsj0-mix's People

Contributors

mpariente avatar jonathan-leroux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.