GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Histogram improvements
[mirrors/Programs.git]
/
c
/
goertzel
/
sleepmon.sh
diff --git
a/c/goertzel/sleepmon.sh
b/c/goertzel/sleepmon.sh
index cb28c7187de5e2a7d82c66cfa7f70024293fd5b9..42bbcad33f37a50fb2c249bd50b67b69835d7fc3 100755
(executable)
--- a/
c/goertzel/sleepmon.sh
+++ b/
c/goertzel/sleepmon.sh
@@
-21,7
+21,8
@@
screen=false
while getopts "s" OPT; do
test "$OPT" == 's' && screen=true;
done
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)"
date="$(date +%s)"
time="$(echo "$line" | cut -f 1)"
level="$(echo "$line" | cut -f 2)"
This page took
0.130224 seconds
and
4
git commands to generate.