I have this two commands in SoX:
rec -V3 output.wav trim 0 50
sox output.wav out.wav trim 0 10 : newfile : restart
I need to do this work but in only one command line.
I need the recorded file "output.wav" to be trimmed into several files of 10 sec.