Skip to content

kounsokiri/pisound_recorder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

One Button Recording with Buffer, with Raspberry/PatchboxOS and Pisound.

Tap The Button once to record the past 3 minutes, tap again to stop

Core

  • recording.sh: Wrapper for Pisound Button
    • Handles starting and stopping of recording
    • Blinks the led during recording
  • recording.service: SystemD unit for recording
    • Uses /home/patch/Music/ 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)

Usage

  • 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 /home/patch/Music/

Debugging

  • watch systemctl status recording.service
  • journalctl -f -u recording.service

Requirements

  • Patchbox OS (Tested with Debian 12 (bookworm))
  • Raspberry Pi (Tested with 5 - 8GB)
  • Pisound, optionally with case

Install

    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`

Remove

sudo make remove

Thanks

Original made by strobeflash & Giedrius, for PatchboxOS/Pisound

About

Pisound recorder with pre-recording buffer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 51.5%
  • Shell 48.5%