Forrest logo
tool overview
On this page you find all important commands for the CLI tool arecord. If the command you are looking for is missing please ask our AI.

arecord

arecord is a command-line tool used in Linux systems to capture audio from various input devices. It is a part of the Advanced Linux Sound Architecture (ALSA) project, which provides audio and MIDI functionality to Linux-based operating systems.

With arecord, users can record audio from various sources such as microphones, external audio devices, and system audio. It supports a wide range of audio formats including WAV, FLAC, AIFF, and Ogg/Vorbis.

arecord allows users to specify the input device, sample rate, channel count, and other audio parameters for capturing audio. It provides flexibility in choosing the audio source and manipulating the recorded audio using command-line options.

The tool supports real-time audio recording, making it suitable for tasks like audio capture during live events or voice recording for telephony applications. It offers options to set the audio duration, enabling users to control the length of the recording.

arecord provides powerful features like audio level monitoring, silence threshold detection, and audio input gain adjustment. This allows users to control the quality and behavior of the recorded audio, ensuring optimal results.

The captured audio can be saved to a file or redirected to other command-line tools for further processing. Users can also utilize arecord in scripting and automation scenarios, integrating it with other command-line utilities.

It offers a selection of command-line options to customize the output format, control audio buffering, and manage the recording process. Users can also control the audio hardware settings using arecord, facilitating advanced configurations and fine-tuning.

arecord is widely used in Linux audio applications and audio recording workflows. It is often utilized in audio-related development, debugging, and testing due to its versatility and compatibility with ALSA.

As a command-line tool, arecord lacks a graphical user interface (GUI), making it suitable for users comfortable with the command line, seeking greater control and flexibility over audio capture processes.

List of commands for arecord:

  • arecord:tldr:28266 arecord: Record a snippet in "CD" quality, with a fixed duration of 10 seconds.
    $ arecord -vv --format=cd --duration=${10} ${filename-wav}
    try on your machine
    explain this command
  • arecord:tldr:3a462 arecord: List all sound cards and digital audio devices.
    $ arecord --list-devices
    try on your machine
    explain this command
  • arecord:tldr:8438a arecord: Allow interactive interface (e.g. use space-bar or enter to play or pause).
    $ arecord --interactive
    try on your machine
    explain this command
  • arecord:tldr:f78c4 arecord: Record a snippet in "CD" quality (finish with Ctrl-C when done).
    $ arecord -vv --format=cd ${filename-wav}
    try on your machine
    explain this command
tool overview