Hello,

 

the attached program converts a file to one channel and a sampling rate of 8000. If the input is a stereo file, then the duration of the output file is half of the duration of the input file. The last half is missing.

 

What is wrong?

 

Thanks

Christian

 

PS:
I am using sox-14.4.1 on a 64bit Ubuntu.