record(1) General Commands Manual record(1)NAME
record - records *.wav files
SYNOPSIS
record [ options ]
DESCRIPTION
record records *.wav files in CD quality (i.e. 44100 Hz, 16bit, stereo). It has a input level meter, which might be useful for sound trou-
ble shooting (check if the mixer settings ok for recording from the TV card etc.)
OPTIONS -h display help text
-o file
basename for the output file(s), a number and the .wav extension are added by record. Default is "record".
-i dev mixer control. This should be the one where you can adjust the record level for your audio source. Default is "line". "mic" and
"igain" are good candidates too. Best way to figure is to start your favorite mixer tool and check out which one works ...
-m dev set mixer device. Default is "/dev/mixer".
-d dev set audio device. Default is "/dev/dsp".
-r rate
set sample rate. Default is 44100.
-p sec peak seconds (number of seconds which should be scanned for the volume maximum). This affects both peak level display and level
triggered recording (see below). Default is 1.5 seconds.
record can also be used non-interactive:
-c enable console (non-interactive) mode.
-v be verbose (console mode only).
-t mm:ss
Limit the record time (console mode only). By default record records until stopped by a signal (by typing ^C for example).
-s size
Limit the file size (console mode only). record will continue with a new file once the limit is reached.
-n num Limit the file count (console mode only). record will stop recording after num files.
-l Enable level triggered recording (console mode only) with the default trigger level (1000).
-L level
Enable level triggered recording with the specified trigger level.
If level triggered recording is active, record will start and stop recording depending on the signal strength. Recording will be started
if the signal strength is above the trigger level (1000/32768 => around 3%). Recording will be stopped if the signal is below the trigger
level for some time (1.5 seconds by default, the -p switch changes this).
AUTHOR
Gerd Knorr <kraxel@bytesex.org>
(c) Gerd Knorr record(1)
Check Out this Related Man Page
MIXER(8) BSD System Manager's Manual MIXER(8)NAME
mixer -- set/display soundcard mixer values
SYNOPSIS
mixer [-f device] [-s | -S] [dev [[+|-]lvol[:[+|-]rvol]]] ...
mixer [-f device] [-s | -S] recsrc ...
mixer [-f device] [-s | -S] {^|+|-|=}rec rdev ...
DESCRIPTION
The mixer utility is used to set and display soundcard mixer device levels. It may also be used to start and stop recording from the sound-
card. The list of mixer devices that may be modified are:
vol, bass, treble, synth, pcm, speaker, line, mic, cd, mix, pcm2, rec, igain, ogain, line1, line2, line3, dig1, dig2, dig3, phin,
phout, video, radio, and monitor.
Not all mixer devices are available.
Without any arguments, mixer displays the current settings for all supported devices, followed by information about the current recording
input devices. If the dev argument is specified, mixer displays only the value for that dev.
To modify the mixer value dev, the optional left and right channel settings of lvol[:rvol] may be specified. The lvol and rvol arguments may
be from 0 - 100. Omitting dev and including only the channel settings will change the main volume level.
If the left or right channel settings are prefixed with + or -, the value following will be used as a relative adjustment, modifying the cur-
rent settings by the amount specified.
If the -s flag is used, the current mixer values will be displayed in a format suitable for use as the command-line arguments to a future
invocation of mixer (as above).
The -S flag provides the above output without mixing field separators.
To change the recording device you use one of:
^rec toggles rdev of possible recording devices
+rec adds rdev to possible recording devices
-rec removes rdev from possible recording devices
=rec sets the recording device to rdev
The above commands work on an internal mask. After all the options have been parsed, it will set then read the mask from the sound card.
This will let you see EXACTLY what the soundcard is using for the recording device(s).
The option recsrc will display the current recording devices.
The option -f device will open device as the mixer device.
FILES
/dev/mixer the default mixer device
SEE ALSO cdcontrol(1), sound(4)HISTORY
The mixer utility first appeared in FreeBSD 2.0.5.
AUTHORS
Original source by Craig Metz <cmetz@thor.tjhsst.edu> and Hannu Savolainen. Mostly rewritten by John-Mark Gurney <jmg@FreeBSD.org>. This
manual page was written by Mike Pritchard <mpp@FreeBSD.org>.
BSD June 2, 2014 BSD