Skip to content

Audio conditioner for making training dataset for Wavenet training

Notifications You must be signed in to change notification settings

Jade570/pydub-audio-conditioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

pydub-audio-conditioner

Audio conditioner for making training dataset for Wavenet training

Dependencies

$ brew install ffmpeg

How To Start

$ 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

Arguments

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)

1. --targetdir

The directory you will store the conditioned files at.
Default: current directory

2. --sourcedir

The directory you have your original wave files at.
Default: current directory

3. --samplerate

Sample rate you want to condition files as.
Default: 24000

4. --bitrate

Bit rate you want to condition files as.
Default: 16

5. --seconds

How many milliseconds you want to split files as.
Default: 5000

6. --extension

Extension you want the conditioned files to have.
Default: wav

About

Audio conditioner for making training dataset for Wavenet training

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages