Audio conditioner for making training dataset for Wavenet training
$ brew install ffmpeg
$ git clone https://github.com/Jade570/pydub-audio-conditioner.git
$ cd pydub-audio-conditioner
$ pip install -r requirements.txt
$ python wav_conditioner.py --sourcedir=/path/to/original/sources
There are --targetdir
, --sourcedir
, --samplerate
, --bitrate
, --seconds
, --extension
arguments you can change in the terminal while executing this project.
example:
$ python wav_conditioner.py
#every arguments are set to default
$ python wav_conditioner.py --seconds=15000
#split audio files into 15000milliseconds(15seconds)
The directory you will store the conditioned files at.
Default: current directory
The directory you have your original wave files at.
Default: current directory
Sample rate you want to condition files as.
Default: 24000
Bit rate you want to condition files as.
Default: 16
How many milliseconds you want to split files as.
Default: 5000
Extension you want the conditioned files to have.
Default: wav