test for sample clock offsets
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 2 May 2018 21:31:43 +0000 (21:31 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 2 May 2018 21:31:43 +0000 (21:31 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@3557 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/README_fdmdv.txt

index e70aded1ff1d14af1b73b97ec6b9b129955340a0..467f68b0d1f1a9fe444613cc410271641dcf5f66 100644 (file)
@@ -60,6 +60,13 @@ Built as part of codec2-dev, see README for build instructions.
 
    $ ./fdmdv_get_test_bits - 20000 20 | ./fdmdv_mod - - 20 | ./fdmdv_demod - - 20 | ./fdmdv_put_test_bits - 20
 
+7. Test with timing slips due to sample clock offset of 1000ppm:
+
+   $ ./fdmdv_get_test_bits - 30000 | ./fdmdv_mod - - | sox -t raw -r 8000 -s -2 - -t raw -r 7990 - | ./fdmdv_demod - - 14 demod_dump.txt | ./fdmdv_put_test_bits -
+
+   octave:98> fdmdv_demod_c("../build_linux/src/demod_dump.txt",28000)
+   27552 bits  0 errors  BER: 0.0000
+
 References
 ----------