On 1/19/19 6:44 AM, Måns Rullgård wrote:
Is the position of "-b 16" option okay?
No, it needs to go immediately before the "test.wav" argument.
$ rec -c 2 -r 48000 -p trim 0 20 | sox -p -b 16 test.wav trim 0 10 : newfile : restart
^^^^^
This was successful! I could record 16-bit wav files.
$ rec -c 2 -b 16 -r 48000 test.wav trim 0 10 : newfile : restart
The command I suggested does exactly that.
How can I stop recording? Can I set the recording time in advance?
Regards,
--
Toru Yagi
yagitohru@xxxxxxxxxxx
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users