Re: Capturing Only 1 Channel of a Stereo Device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kenny Koller <kenny@xxxxxxxxxxxxxxxxxxxxx> 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
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux