record(1)

πŸ“¦
version 3.107 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

🌸 NAME

record β€” records *.wav files πŸ’– (yes bestie, that's the whole job, and she does it flawlessly)


✨ SYNOPSIS

record [ options ]

πŸ’– DESCRIPTION

okay so, record records *.wav files in CD quality β€” that's 44100 Hz, 16bit, stereo, the whole shebang, no cap πŸŽ€.

It also comes with an input level meter, which is lowkey a lifesaver for sound troubleshooting. Like, is your mixer settings actually ok for recording from the TV card? This meter will tell you. Vibe check your audio before you commit, fr fr πŸ’….


πŸ’… OPTIONS

  • -h β€” display help text. Slay, she explains herself.
  • -o file β€” basename for the output file(s). record adds a number and the .wav extension all by itself (iconic behaviour honestly). 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 it out? Start your favorite mixer tool and check out which one works... that's the whole strategy bestie.
  • -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: the number of seconds which should be scanned for the volume maximum. This affects both peak level display and level triggered recording (see below, keep scrolling πŸ¦‹). Default is 1.5 seconds.

and now for the plot twist: 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. She just keeps going, main character energy πŸ’€
  • -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.

πŸŽ€ LEVEL TRIGGERED RECORDING (the girlies are asking)

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, and the -p switch changes this πŸ‘‘).
ngl this is the "only record when something's actually happening" feature and it's kind of a genius move πŸ’œ

🫢 AUTHOR

Gerd Knorr <kraxel@bytesex.org>


and that's a wrap bestie πŸŽ€ this little page came to you courtesy of the General Commands Manual collection, copyright (c) Gerd Knorr, and it's filed under record(1) β€” no date printed on this one, we just vibing πŸŒˆβœ¨πŸ’–