EnglishSpeechUpsampler icon indicating copy to clipboard operation
EnglishSpeechUpsampler copied to clipboard

upsampling_audio_file

Open Alexander-flyer opened this issue 6 years ago • 1 comments

in upsampling_audio_file , there is a code here that puzzles me

true_wf = true_wf[:int(true_wf.size/INPUT_SIZE)*INPUT_SIZE]

I have modified the project that the model can upsampling a 8000hz audio to a 16000hz wav file. so true_wf is 8000 and INPUT_SIZE is 16000 in the processing final, int(true_wf.size/INPUT_SIZE)*INPUT_SIZE is 0, so the true_wf is None....... Is there any hint?

Alexander-flyer avatar Mar 26 '18 08:03 Alexander-flyer

Hey, I have the same problem, did you find any solution?

MagRac avatar May 08 '20 10:05 MagRac