refactor configuration in sigproc.MODEM object

This commit is contained in:
Roman Zeyde
2014-07-22 13:26:25 +03:00
parent 67442e40f9
commit 4a31276471
10 changed files with 110 additions and 95 deletions

View File

@@ -4,7 +4,7 @@ set -e
run() {
echo "SRC $HOST: $CMD" 1>&2
ssh $HOST $CMD
ssh $HOST "$CMD"
}
run_src() {
@@ -20,7 +20,7 @@ run_dst() {
}
## generate 1Mbit of random data
#run_src dd if=/dev/urandom of=data.send bs=125kB count=1 status=none
run_src dd if=/dev/urandom of=data.send bs=125kB count=1 status=none
SRC_HASH=`run_src sha256sum data.send | ./colorhash.py`
# modulate data into audio file