One Button Recording with Buffer, with Raspberry/PatchboxOS and Pisound.
Tap The Button once to record the past 3 minutes, tap again to stop
- recording.sh: Wrapper for Pisound Button
- Handles starting and stopping of recording
- Blinks the led during recording
- recording.service: SystemD unit for recording
- Uses MODEP's
Audio Recordings
directory - jack_capture timemachine/osc daemon logic
- captures 180 seconds (3 minutes) of buffer before you pushed the button (configurable, if you change
--tmpb 180
in the service file)
- Uses MODEP's
- Install (see below)
- Press button to start recording, including the past 3 minutes, led starts blinking
- Press button to stop recording, blinking intensivies when done
- View files in [http://patchbox.local:8081/browse/Audio%20Recordings][http://patchbox.local:8081/browse/Audio%20Recordings]
watch systemctl status recording.service
journalctl -f -u recording.service
- Patchbox OS (Tested with Debian 12 (bookworm))
- Patchbox MODEP Module (optional, if you change
capture_dir
in the service file) - Raspberry Pi (Tested with 4 B - 2GB)
- Pisound, optionally with case
sudo apt install jack_capture liblo-tools
sudo make install
sudo sed -i 's:^\(CLICK_1[[:space:]]\+\).*$:\1/usr/local/pisound/scripts/pisound-btn/recording.sh:' /etc/pisound.conf
or edit /etc/pisound.conf manually to contain:
CLICK_1 /usr/local/pisound/scripts/pisound-btn/recording.sh`
sudo make remove
Original made by strobeflash & Giedrius, for PatchboxOS/Pisound