OS Manuals

/usr/bin/rec

SoX (Sound eXchange) - command-line audio file converter and effects processor

From sox 14.4.2-r8 (enterprise-packages), captured 2026-11-08 by running rec --help (exit 1) · terse output. permalink

Also provided by 1 other package version
/usr/bin/rec FAIL sox: Sorry, there is no default audio device configured
Options (35)
OptionDescriptionSource
--buffer, --input-buffer BYTESSet the size in bytes of the buffers used for processing audio (default 8192).man
--clobberDon't prompt before overwriting an existing file with the same name as that given for the output file.man
--combineSelect the input file combining method;man
-D, --no-ditherDisable automatic dither - see Dithering' above.man
--effects-file FILENAMEUse FILENAME to obtain all effects and their arguments.man
-G, --guardAutomatically invoke the gain effect to guard against clipping.man
-h, --helpShow version number and usage information.man
--help-effect NAMEShow usage information on the specified effect.man
--help-format NAMEShow information about the specified file format.man
--i, --infoOnly if given as the first parameter to sox, behave as soxi(1).man
--magicIf SoX has been built with the optional libmagic' library then this option can be given to enable its use in helping to detect audio file types.man
--multi-threaded, --single-threadedBy default, SoX is single threaded'.man
--no-clobberPrompt before overwriting an existing file with the same name as that given for the output file.man
--play-rate-arg ARGSelects a quality option to be used when the rate' effect is automatically invoked whilst playing audio.man
--plot gnuplot|octave|offIf not set to off (the default if --plot is not given), run in a mode that can be used, in conjunction with the gnuplot program or the GNU Octave program, to assist with the selection and…man
-q, --no-show-progressRun in quiet mode when SoX wouldn't otherwise do so.man
-RRun in repeatable' mode.man
--replay-gain track|album|offSelect whether or not to apply replay-gain adjustment to input files.man
-S, --show-progressDisplay input file format/header information, and processing progress as input file(s) percentage complete, elapsed time, and remaining time (if known;man
-TEquivalent to --combine multiply.man
--temp DIRECTORYSpecify that any temporary files should be created in the given DIRECTORY.man
--versionShow SoX's version number and exit.man
--ignore-lengthOverride an (incorrect) audio length given in an audio file's header.man
-v, --volume FACTORIntended for use when combining multiple input files, this option adjusts the volume of the file that follows it on the command line by a factor of FACTOR.man
-b, --bits BITSThe number of bits (a.k.a.man
-c, --channels CHANNELSThe number of audio channels in the audio file.man
-e, --encoding ENCODINGThe audio encoding type.man
--no-globSpecifies that filename globbing' (wild-card matching) should not be performed by SoX on the following filename.man
-t, --type FILE-TYPEGives the type of the audio file.man
-N, --reverse-nibblesSpecifies that the nibble ordering (i.e. the 2 halves of a byte) of the samples should be reversed;man
-X, --reverse-bitsSpecifies that the bit ordering of the samples should be reversed;man
--add-comment TEXTAppend a comment in the output file header (where applicable).man
--comment TEXTSpecify the comment text to store in the output file header (where applicable).man
--comment-file FILENAMESpecify a file containing the comment text to store in the output file header (where applicable).man
-C, --compression FACTORThe compression factor for variably compressing output file formats.man
Exit status (2) from the manual page
1there is a problem with the command-line parameters
2an error occurs during file processing

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.