Added codec2 decoder script.
authordarksidelemm <darksidelemm@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 26 Jun 2017 09:24:07 +0000 (09:24 +0000)
committerdarksidelemm <darksidelemm@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 26 Jun 2017 09:24:07 +0000 (09:24 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@3255 01035d8c-6547-0410-b346-abe4f91aad63

misc/lilacsat1/4-decode.sh [new file with mode: 0755]
misc/lilacsat1/README.txt

diff --git a/misc/lilacsat1/4-decode.sh b/misc/lilacsat1/4-decode.sh
new file mode 100755 (executable)
index 0000000..5f3cbc3
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+nc -lu 7000 | c2dec 1300 - - | play -t raw -r 8000 -e signed-integer -b 16 -c 1 -
+
index 7ba8c83ac7db5cfffef39a3668d977b8f629a7b6..4d17eb2aedc5ca7651909ebe5134a1b0cb1fceba 100644 (file)
@@ -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