Sato-Kunihiko/audio-SNR

wav duration

Closed this issue · 4 comments

Hello, I wonder the duration of the source file and the noise file need to be same or could be totally different, if the duration of nosie file is shorter than the source file, could the source file be filled with noise.

@zhangshengnan96
Hello.
The scripts accept the files if the duration of the noise file is longer than that of the source file.
If the duration of the noise file is shorter than that of the source file, the scripts fail.

Do you want to use the noise file which has a shorter duration than the source file?

yes, maybe the duration of noise file is shorter than the source file.

I got it.
You can submit a pull request for using the shorter noise file. What do you think?

I got it. You can submit a pull request for using the shorter noise file. What do you think?

ok, thanks a lot. Have a good day.