Crates.io | recbox |
lib.rs | recbox |
version | 0.1.0 |
source | src |
created_at | 2024-10-06 23:18:35.912412 |
updated_at | 2024-10-06 23:18:35.912412 |
description | simple audio recorder |
homepage | |
repository | https://github.com/xermicus/recbox |
max_upload_size | |
id | 1399480 |
size | 19,423 |
suckless audio recording of your modular via an USB interface (e.g. a scarlett) with a raspberry pi, 2 systemd units and a couple lines Rust
+------------------+ +-----------------+ +-----------------------+
| Headphones | | Monitors | | Raspberry Pi |
+------------------+ +-----------------+ | |
^ ^ | |
| | | |
cue monitor | |
| | | |
+--------------------+ +---------------------+ | +-------------------+ |
| Synth / Mixer |----->| USB Audio Interface |----->| | jackd | |
+--------------------+ +---------------------+ | +-------------------+ |
| | |
| v |
| +-------------------+ |
| | recbox | |
| +-------------------+ |
| | |
| v |
| +-------------------+ |
| | Audio Files | |
| +-------------------+ |
| | |
| v |
+-------------------+ | +-------------------+ |
| PC / Laptop |<----- wifi-----+-| Syncthing | |
+-------------------+ | +-------------------+ |
+-----------------------+
# install dependencies
sudo apt update && sudo apt install -y jackd2 libjack-dev # optionally: syncthing
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# install this
cargo install recbox
# find your sound card by name
aplay -l
cat /proc/asound/cards
# configure the service files (change user, out dir and sound card)
# install and enable systemd units
sudo cp recbox/*.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable --now jackd.service
sudo systemctl enable --now recbox.service