Histogram improvements
[mirrors/Programs.git] / c / goertzel / sleepmon.sh
index cb28c7187de5e2a7d82c66cfa7f70024293fd5b9..42bbcad33f37a50fb2c249bd50b67b69835d7fc3 100755 (executable)
@@ -21,7 +21,8 @@ screen=false
 while getopts "s" OPT; do
        test "$OPT" == 's' && screen=true;
 done
-arecord | ./goertzel -i -q -a -t $tresh -s 2000 | while read line; do
+echo "Writing to file: $out";
+arecord | ./goertzel -n -q -l -t $tresh -d 4 | while read line; do
        date="$(date +%s)"
        time="$(echo "$line" | cut -f 1)"
        level="$(echo "$line" | cut -f 2)"
This page took 0.116103 seconds and 4 git commands to generate.