Skip to content

interym/pi_recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi_recorder

A simple WAV/MP3 recorder on a raspberry pi with hifiberry dac+ adc and a harddrive to record and share data on a local network with only one click

Installation

git clone git@github.com:interym/pi-recorder.git $HOME/pi-recorder
cd $HOME/pi-recorder
./systemd/install.sh
./systemd/start.sh

To auto-start at boot, enable user lingering for your user.

loginctl enable-linger your-username

Note: Currently, the sytemd scripts assume that a checkout resides in $HOME/pi-recorder

The systemd units that are installed above do nothing but execute two commands:

  • Start the GPIO-controlled recorder: ./gpio-recorder.py

  • Start the web ui: node webui/server.js

How it works

A Python script uses RPi.GPIO to listen on a button, start/stop recording (with arecord), and let a LED blink. It places recorded WAV files in a folder Recordings.

A NodeJS server uses Express to serve the recorded files, a JSON object of all files plus metadata, and the frontend.

The frontend is a simple Javascript app. It uses Choo to render simple HTML views. The app is bundled with Browserify. To make writing CSS a little nicer, it is loaded with Sheetify and transformed through sheetify-nested.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published