kristianwh / cpiped

Captures an audio stream and outputs to a pipe with buffering and silence detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cpiped captures an audio stream and outputs it to a pipe with a bit of buffering to handle clock mismatch. It also includes silence/sound detection and the ability to run a command on detection.

I'm using this to capture line-in audio from a sound card and send it to forked-daapd (https://github.com/ejurgensen/forked-daapd). On sound detection, it runs a simple script to start playing the associated pipe in forked-daapd.

About

Captures an audio stream and outputs to a pipe with buffering and silence detection

License:GNU General Public License v3.0


Languages

Language:C 74.5%Language:Shell 24.6%Language:Makefile 0.8%