WAVREC(1)

NAME
wavrec - a command-line tool for recording audio in WAV format using ALSA

SYNOPSIS
wavrec outputfile.wav [silence_threshold] [discard_silence] [channels]

DESCRIPTION
wavrec is a command-line tool for recording audio in WAV format using ALSA on Linux. It supports multi-channel recording, silence detection, and real-time level monitoring.

OPTIONS

outputfile.wav
    The output WAV file.

silence_threshold
    The silence threshold (default: 0.01).

discard_silence
    Whether to discard silence (1 for yes, 0 for no, default: 1).

channels
    Number of channels (1 for mono, 2 for stereo, default: 2).

EXAMPLES

Record in stereo with default settings:
    wavrec output.wav

Record in mono with a custom silence threshold:
    wavrec output.wav 0.02 1 1

Record without silence detection:
    wavrec output.wav 0.01 0

SEE ALSO
alsa(1), fpc(1)

AUTHOR
Written by Atyomov Alexander.

LICENSE
This program is licensed under the GNU AGPLv3 and above.