hydrophonitor/audio-logger
2023-03-22 21:58:14 +02:00
..
src 9 hydrophonitor cli (#14) 2023-03-22 21:58:14 +02:00
.gitignore Remove led display script, clean up scripts, fix gitignore 2023-02-21 18:51:14 +02: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 Remove led display script, clean up scripts, fix gitignore 2023-02-21 18:51:14 +02: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.