From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kenny Koller Newsgroups: gmane.comp.audio.sox Subject: Capturing Only 1 Channel of a Stereo Device Date: Mon, 13 Mar 2017 23:51:17 +0000 Message-ID: Reply-To: sox-users@lists.sourceforge.net NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7837107923531025050==" X-Trace: blaine.gmane.org 1489450768 11511 195.159.176.226 (14 Mar 2017 00:19:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2017 00:19:28 +0000 (UTC) To: sox-users@lists.sourceforge.net Original-X-From: sox-users-bounces@lists.sourceforge.net Tue Mar 14 01:19:23 2017 Return-path: Envelope-to: gcas-sox-users@gmane.org X-Yomura-MXScrub: 1.0 Received-SPF: neutral (sog-mx-4.v43.ch3.sourceforge.com: 209.85.217.169 is neither permitted nor denied by domain of understoryweather.com) client-ip=209.85.217.169; envelope-from=kenny@understoryweather.com; helo=mail-ua0-f169.google.com; X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oaAK4fqYoNCqFHEjS4dG49WbinRVfdRS41Hjwm2ZFTg=; b=Hb6rOgkPZy5Nki2H2CE0eEU5hDBN+kR8/KX9dj5EO5zayNnbY0iMy5hvpqMHM2sJDP u34yzI5X9RUr2Cvb8vubMHdsYodDNQwBdPhcdU4iuf4w1RzUl6XT+S1YkPU5D6Pn0nCV hTCjCM1D+VfNS8VO3uljB8850lBQfYYsGk3QHu07EIR+KaBWO5+HGxNEQ2PDTKBtGZES kOIs7NaaLLwTvNddl20GiUSM1/gE0hNwaTH821KK08G3AozdCkVk/hlwdpYfNO3Z91sp 1esHcoAuSSvHSPlf2Ry+Q1XjShbjTWn9QTd5Gd6c5BCZlU6zZLc0Bn221h8/csl7Esi5 9h5w== X-Gm-Message-State: AMke39mrF3kFsMvbSRnFEoXLNmD7+1T/NQ5DMqwQNgfABRoFOCP+mKIJv2ldtZuYFJQ+rMvKNh3ur6u81IrXsg== X-Received: by 10.176.4.83 with SMTP id 77mr17812252uav.58.1489449087556; Mon, 13 Mar 2017 16:51:27 -0700 (PDT) X-Headers-End: 1cnaBH-0002Ea-Gq X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: sox-users-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.comp.audio.sox:6489 Archived-At: Received: from mxfilter-048035.atla03.us.yomura.com ([107.189.48.35]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnaBO-0002PM-Kh for gcas-sox-users@gmane.org; Tue, 14 Mar 2017 01:19:22 +0100 Received: from lists.sourceforge.net (unknown [216.34.181.88]) by mxfilter-048035.atla03.us.yomura.com (Halon) with ESMTPS id e1c11f85-084b-11e7-b156-b499baabecb2; Tue, 14 Mar 2017 00:19:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cnaBK-0000CX-1U; Tue, 14 Mar 2017 00:19:18 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cnaBI-0000CR-Fg for sox-users@lists.sourceforge.net; Tue, 14 Mar 2017 00:19:16 +0000 Received: from mail-ua0-f169.google.com ([209.85.217.169]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1cnaBH-0002Ea-Gq for sox-users@lists.sourceforge.net; Tue, 14 Mar 2017 00:19:16 +0000 Received: by mail-ua0-f169.google.com with SMTP id 72so161551161uaf.3 for ; Mon, 13 Mar 2017 17:19:15 -0700 (PDT) --===============7837107923531025050== Content-Type: multipart/alternative; boundary=001a114815ccc6e25f054aa563e1 --001a114815ccc6e25f054aa563e1 Content-Type: text/plain; charset=UTF-8 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 --001a114815ccc6e25f054aa563e1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
We have been using Sox, a Mac, and a Focusrite Scarlett 2i= 2 (configured to be the default audio input) to capture samples from an ele= ctret 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 d= evice to keep the file sizes smaller?

Thanks.

$ ./rec test.raw

<= br>

Input File =C2=A0=C2=A0=C2=A0=C2=A0: 'de= fault' (coreaudio)

Channels =C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0: 2

= Sample Rate =C2=A0=C2=A0=C2=A0: 96000

Precision =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0: 32-bit

Sample Encoding: 32-bit Signed Integer PCM

--001a114815ccc6e25f054aa563e1-- --===============7837107923531025050== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============7837107923531025050== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============7837107923531025050==--