sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: Toru Yagi <yagitohru@yahoo.co.jp>
To: Måns Rullgård <mans@mansr.com>
Cc: sox-users@lists.sourceforge.net
Subject: Re: sox can't encode to 16-bit
Date: Sun, 20 Jan 2019 00:58:01 +0900
Message-ID: <af6308c9-a645-8477-c291-f120847955d2@yahoo.co.jp> (raw)
In-Reply-To: <yw1xy37h1vzw.fsf@mansr.com>

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@yahoo.co.jp


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

      reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-17 13:41 Toru Yagi
2019-01-18 12:54 ` Måns Rullgård
2019-01-18 14:47   ` Toru Yagi
2019-01-18 21:44     ` Måns Rullgård
2019-01-19 15:58       ` Toru Yagi [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=af6308c9-a645-8477-c291-f120847955d2@yahoo.co.jp \
    --to=sox-users@lists.sourceforge.net \
    --cc=mans@mansr.com \
    --cc=yagitohru@yahoo.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox