From 8a6a9ed042204ae342c5a60908e7f1a10a379486 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Fri, 11 Jul 2014 14:38:17 +0300 Subject: [PATCH] test 16kB with 40kbps = 10 freqs x QAM16 --- common.py | 2 +- test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.py b/common.py index 362004c..6eea63c 100644 --- a/common.py +++ b/common.py @@ -7,7 +7,7 @@ log = logging.getLogger(__name__) Fs = 32e3 Ts = 1.0 / Fs -frequencies = (np.arange(11) + 1) * 1e3 +frequencies = (np.arange(10) + 1) * 1e3 carrier_index = 0 Fc = frequencies[carrier_index] Tc = 1.0 / Fc diff --git a/test.sh b/test.sh index 2ba37fc..76833fc 100755 --- a/test.sh +++ b/test.sh @@ -2,7 +2,7 @@ set -u set -e -dd if=/dev/urandom of=data.send bs=1024 count=1 +dd if=/dev/urandom of=data.send bs=1024 count=16 ./send.py tx.int16 killall arecord aplay || true