Parameter and path in configuration tencent_challenge_rirgenerator.py
file
python ./tencent_challenge_rirgenerator.py
If you use the supplied RIR, this step is not required.
speech data:
noise data:
Configure the path to several datasets in ./prepare.sh
bash ./prepare.sh
Configure using the supplied parameters
Attention to the data/[dev | train]_[linear|circle]_simu_mix.config . In the config file path should be replaced with the corresponding path.
# dev set of linear mic array
python mix_wav.py --mix_config_path=./data/dev_linear_simu_mix.config --save_dir=./data/wavs/dev/simu_linear/ --chunk_len=6 --generate_config=False
Use the new parameter configuration
# dev set of linear mic array
python mix_wav.py --clean_wav_list=./data/dev_clean.lst --noise_wav_list=./data/dev_noise.lst --rir_wav_list=./data/dev_linear_rir.lst --mix_config_path=./data/dev_linear_simu_mix.config --save_dir=./data/wavs/dev/simu_linear --chunk_len=6 --generate_config=True