From eeefdf841e886616751b7e8c72d9abf6be5d8fe7 Mon Sep 17 00:00:00 2001 From: darksidelemm Date: Mon, 26 Jun 2017 09:24:07 +0000 Subject: [PATCH] Added codec2 decoder script. git-svn-id: https://svn.code.sf.net/p/freetel/code@3255 01035d8c-6547-0410-b346-abe4f91aad63 --- misc/lilacsat1/4-decode.sh | 3 +++ misc/lilacsat1/README.txt | 10 ++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100755 misc/lilacsat1/4-decode.sh diff --git a/misc/lilacsat1/4-decode.sh b/misc/lilacsat1/4-decode.sh new file mode 100755 index 00000000..5f3cbc38 --- /dev/null +++ b/misc/lilacsat1/4-decode.sh @@ -0,0 +1,3 @@ +#!/bin/bash +nc -lu 7000 | c2dec 1300 - - | play -t raw -r 8000 -e signed-integer -b 16 -c 1 - + diff --git a/misc/lilacsat1/README.txt b/misc/lilacsat1/README.txt index 7ba8c83a..4d17eb2a 100644 --- a/misc/lilacsat1/README.txt +++ b/misc/lilacsat1/README.txt @@ -29,9 +29,15 @@ Installation Running ------- -1/ In a Terminal start Codec 2 decoder running in the background: +1/ Open a terminal window and perform the following commands to install the codec2 binaries. + $ cd ~/codec2-dev/build/ + $ sudo make install + + Now we can start the codec2 decoder by running: + $ cd ~/lilacsat1/ + $ ./4-decode.sh + You can leave this running in the currently open terminal while the rest of the commands are performed. - $ nc -lu 7000 | ~/codec2-dev/build/src/c2dec 1300 - - | aplay -f S16_LE& 2/ In a new Terminal start GNU Radio LilacSat-1 application running -- 2.25.1