https://github.com/xermicus/recbox
simple audio recorder
https://github.com/xermicus/recbox
Last synced: 5 months ago
JSON representation
simple audio recorder
- Host: GitHub
- URL: https://github.com/xermicus/recbox
- Owner: xermicus
- License: mit
- Created: 2024-10-06T23:12:24.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-06T23:18:27.000Z (over 1 year ago)
- Last Synced: 2025-09-21T10:40:11.115Z (9 months ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# recbox
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
- runs on a raspi laying around anyways
- starts recording audio after boot, just plug it into the same power strip
- use [syncthing](https://github.com/syncthing/) or scp to move recorded audio files
- or just point the out dir to any external data drive (USB stick, NAS share, etc.)
- **dependencies**: jack, cargo, syncthing (optional)
# hardware setup example
```
+------------------+ +-----------------+ +-----------------------+
| Headphones | | Monitors | | Raspberry Pi |
+------------------+ +-----------------+ | |
^ ^ | |
| | | |
cue monitor | |
| | | |
+--------------------+ +---------------------+ | +-------------------+ |
| Synth / Mixer |----->| USB Audio Interface |----->| | jackd | |
+--------------------+ +---------------------+ | +-------------------+ |
| | |
| v |
| +-------------------+ |
| | recbox | |
| +-------------------+ |
| | |
| v |
| +-------------------+ |
| | Audio Files | |
| +-------------------+ |
| | |
| v |
+-------------------+ | +-------------------+ |
| PC / Laptop |<----- wifi-----+-| Syncthing | |
+-------------------+ | +-------------------+ |
+-----------------------+
```
# installation
```bash
# 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
```