projects
/
air-quality
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c5ae95
)
remove old version
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 18 Feb 2020 19:32:17 +0000
(20:32 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 18 Feb 2020 19:32:17 +0000
(20:32 +0100)
audio.sh
[deleted file]
patch
|
blob
|
history
diff --git
a/audio.sh
b/audio.sh
deleted file mode 100755
(executable)
index
cb7e9f5
..0000000
--- a/
audio.sh
+++ /dev/null
@@
-1,10
+0,0 @@
-#!/bin/sh
-
-while true ; do
-
-arecord -d 1 -r 96000 /dev/shm/tmp.wav
-time=`date +'%s%N'`
-info=`sox /dev/shm/tmp.wav -n stat 2>&1 | sed -e 's/(.*)//' -e 's/: */=/' -e 's/ */_/g' | tr '\n' ',' | sed 's/,$//'`
-curl --silent -XPOST http://10.60.0.92:8086/write?db=rot13 --data-binary "fan,dc=trnjanska $info $time"
-
-done