commit 5abfdf8997b6ef42dad767f0b3d2f53dccda9801 Author: sin <sin@2f30.org> Date: Tue, 7 Oct 2014 15:43:08 +0100 Initial commit Diffstat:
A | remotemic | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/remotemic b/remotemic @@ -0,0 +1,10 @@ +#!/bin/sh +# A simple remote microphone ratox script by myroslav + +while true; do + while grep -q 0 call_pending; do + inotifywait -t 60 -e modify call_pending; + done; + (cat call_out > /dev/null &) + arecord -r 48000 -c 1 -f S16_LE >>call_in; +done