updating README's for cmake
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 3 Jun 2014 21:15:27 +0000 (21:15 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 3 Jun 2014 21:15:27 +0000 (21:15 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@1631 01035d8c-6547-0410-b346-abe4f91aad63

codec2/README
codec2/README_fdmdv.txt

index c070222d43e7e98d1919a0671ef9c54b60692ccd..ab79a4d003f38d9b510871e2b3dc05ec31885dc4 100644 (file)
@@ -1,8 +1,8 @@
 Codec 2 README
 --------------
 
-Codec 2 is an open source (LGPL licensed) speech codec for 2400 bit/s
-and below.  For more information please see:
+Codec 2 is an open source (LGPL licensed) speech codec for 1200-3200
+bit/s.  For more information please see:
 
     http://rowetel.com/codec2.html
 
@@ -12,10 +12,10 @@ Quickstart
 ----------
 
 1/ Listen to Codec 2:
- *** FIRST STEP OBSOLETE: See README.cmake for building ***
-   $ ./configure && make
-   $ cd src
-   $ ./c2demo ../raw/hts1a.raw hts1a_c2.raw
+   $ cd codec2
+   $ mkdir build_linux
+   $ cmake && make
+   $ ./src/c2demo ../raw/hts1a.raw hts1a_c2.raw
    $ ../script/menu.sh ../raw/hts1a.raw hts1a_c2.raw
 
    NOTE: For playback testing, menu.sh requires either the 'play',
@@ -25,12 +25,12 @@ Quickstart
 
 2/ Compress and Decompress a file:
 
-   $ ./c2enc 2400 ../raw/hts1a.raw hts1a_c2.bit
-   $ ./c2dec 2400 hts1a_c2.bit hts1a_c2.raw 
+   $ ./src/c2enc 2400 ../raw/hts1a.raw hts1a_c2.bit
+   $ ./src/c2dec 2400 hts1a_c2.bit hts1a_c2.raw 
 
 3/ Same thing with pipes:
 
-   $ ./c2enc 1400 ../raw/hts1a.raw - | ./c2dec 1400 - - | play -t raw -r 8000 -s -2 -
+   $ ./src/c2enc 1400 ../raw/hts1a.raw - | ./src/c2dec 1400 - - | play -t raw -r 8000 -s -2 -
 
 Programs
 --------
@@ -70,15 +70,10 @@ Directories
   portaudio - Portaudio test programs
   script    - shell scripts for playing and converting raw files
   src       - C source code
+  stm32     - STM2F4 uC support
   raw       - speech files in raw format (16 bits signed linear 8 kHz)
   unittest  - unit test source code
   voicing   - hand-estimated voicing files, used for development
   wav       - speech files in wave file format
   win32     - Support for building Windows DLL version of Codec 2 and FDMDV libraries
 
-TODO
-----
-
-[ ] Get win32/Makefile integrated into Automake system, such that if
-    i586-mingw32msvc exists the Win32 code gets automatically built.
-[ ] Same for fltk & portaudio, build these conditionally if libs exist
index fd920ba930546c6c118a6b066b3dd098f5dd3290..64c6a8545526591eb0f006fedfe4804bcdb4eedf 100644 (file)
@@ -18,7 +18,7 @@ Quickstart
 ----------
 
 $ cd codec2
-$ ./configure && make
+$ cmake && make
 $ cd src
 
 1. Generate some test bits and modulate them: