sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: "Måns Rullgård" <mans@mansr.com>
To: Kenny Koller <kenny@understoryweather.com>
Cc: sox-users@lists.sourceforge.net
Subject: Re: Capturing Only 1 Channel of a Stereo Device
Date: Tue, 14 Mar 2017 12:56:17 +0000	[thread overview]
Message-ID: <yw1xtw6w9fv2.fsf@unicorn.mansr.com> (raw)
In-Reply-To: <CAPtqgUxarsA-q2xW=vPkTcBGSMG6aOwOP--Jryq-GTiS=UH0tw@mail.gmail.com> (Kenny Koller's message of "Mon, 13 Mar 2017 23:51:17 +0000")

Kenny Koller <kenny@understoryweather.com> writes:

> We have been using Sox, a Mac, and a Focusrite Scarlett 2i2 (configured to
> be the default audio input) to capture samples from an electret microphone.
> We often capture data for several hours and will use the command below to
> do so. Is it possible to only capture one channel of the device to keep the
> file sizes smaller?
>
> Thanks.
>
> $ ./rec test.raw
> Input File     : 'default' (coreaudio)
> Channels       : 2
> Sample Rate    : 96000
> Precision      : 32-bit
> Sample Encoding: 32-bit Signed Integer PCM

Use "remix 1" to discard the second channel.  The Focusrite device
probably doesn't support capturing only one channel.

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

      reply	other threads:[~2017-03-14 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-13 23:51 Capturing Only 1 Channel of a Stereo Device Kenny Koller
2017-03-14 12:56 ` Måns Rullgård [this message]

Reply instructions:

You may reply publicly 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=yw1xtw6w9fv2.fsf@unicorn.mansr.com \
    --to=sox-users@lists.sourceforge.net \
    --cc=kenny@understoryweather.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).