|
From: Daniel J. <da...@gm...> - 2010-05-05 11:18:55
|
Hi, I am trying to cut up a wav file into single parts which later have to be combined again. It's a wav 44.1kHz 16bit stereo file. Each cut file is missing a few samples. To cut the file into one second parts I use this command: sox wavtest_in.wav test%4n.wav trim 0 1 : newfile : restart To combine the result into a new file I use this sox --ignore-length test*.wav wavetest_out.wav Loss does not happen if I go by samples instead of time and use multiple values of 4096 samples. (aprox 0.10 seconds) Like: sox wavtest.wav test%4n.wav trim 0 44032s : newfile : restart Is there a good way to cut audio time-based without losing anything? |