Re: sox can't encode to 16-bit

Toru Yagi <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
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
[email protected]


_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.