hydrophonitor/audio-logger
2022-10-03 19:32:32 +03:00
..
src Add matching host platform, max seconds recording, template Makefile 2022-09-25 22:41:09 +03:00
.gitignore Clean repository, add .gitignore 2022-09-25 17:58:17 +03:00
Cargo.lock Implement merge and play, refactor 2022-09-25 17:44:48 +03:00
Cargo.toml Clean repository, add .gitignore 2022-09-25 17:58:17 +03:00
Makefile Update Makefile re rule 2022-10-03 19:32:32 +03:00
README.md Implement simple CLI audio logger 2022-09-22 07:06:49 +03:00
run_test.sh Clean repository, add .gitignore 2022-09-25 17:58:17 +03:00

Audio Logger

CLI-tool for recording audio in a Linux environment.

Usage


USAGE:
    audio-logger [OPTIONS] --name <NAME> <HOST>

ARGS:
    <HOST>    Host API to use [possible values: alsa, jack]

OPTIONS:
    -b, --batch-recording <SECONDS>    (optional) Will record in [SECONDS] batches
        --buffer-size <FRAMES>         Buffer size in frames
        --channels <CHANNELS>          Channels to record
    -h, --help                         Print help information
    -n, --name <NAME>                  Filename will be `[NAME]-yyyy-mm-dd-H:M:S.wav`
    -o, --output <PATH>                Path to save the file(s)
        --print-configs                Output the available devices and their configurations
        --sample-rate <SAMPLE_RATE>    Sample rate in Hz (default = 44,000Hz)

Testing

Use the Makefile commands to build the project and run a simple test.