From: drowe67 Date: Tue, 15 Nov 2011 00:16:39 +0000 (+0000) Subject: moved README X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=044f92234a9b6ce5c10e3b5559eb5aab6e1926fe;p=freetel-svn-tracking.git moved README git-svn-id: https://svn.code.sf.net/p/freetel/code@306 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/README b/codec2-dev/README new file mode 100644 index 00000000..3a1a8d19 --- /dev/null +++ b/codec2-dev/README @@ -0,0 +1,69 @@ +Codec 2 README +-------------- + +Codec 2 is an open source 2400 bit/s speech codec (LGPL licensed). +For more information please see: + + http://rowetel.com/codec2.html + +Quickstart +---------- + +1/ Listen to Codec 2: + + $ cd codec2/src + $ make + $ ./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', + 'aplay' or 'ossplay' programs to be installed (see + http://sox.sourceforge.net/, http://www.alsa-project.org/, or + http://www.opensound.com/ respectively). + +2/ Compress and Decompress a file: + + $ ./c2enc ../raw/hts1a.raw hts1a_c2.bit + $ ./c2dec hts1a_c2.bit hts1a_c2.raw + +Programs +-------- + +1/ c2demo encodes a file of speech samples, then decodes them and +saves the result. + +2/ c2enc encodes a file of speech samples to a compressed file of +encoded bits. + +3/ c2dec decodes a compressed file of bits to a file of speech +samples. + +4/ c2sim is a simulation/development version of Codec 2. It allows +selective use of the various Codec 2 algorithms. For example +switching phase modelling or LSP quantisation on and off. + +Debugging +--------- + +1/ For dump file support: + + $ cd codec2 + $ CFLAGS=-DDUMP ./configure + $ make clean && make + +2/ To use gdb: + + $ $ libtool --mode=execute gdb c2sim + +Directories +----------- + + script - shell scripts for playing and converting raw files + src - C source code + octave - Octave scripts used for visualising internal signals + during development + 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 + diff --git a/codec2-dev/README.txt b/codec2-dev/README.txt deleted file mode 100644 index 3a1a8d19..00000000 --- a/codec2-dev/README.txt +++ /dev/null @@ -1,69 +0,0 @@ -Codec 2 README --------------- - -Codec 2 is an open source 2400 bit/s speech codec (LGPL licensed). -For more information please see: - - http://rowetel.com/codec2.html - -Quickstart ----------- - -1/ Listen to Codec 2: - - $ cd codec2/src - $ make - $ ./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', - 'aplay' or 'ossplay' programs to be installed (see - http://sox.sourceforge.net/, http://www.alsa-project.org/, or - http://www.opensound.com/ respectively). - -2/ Compress and Decompress a file: - - $ ./c2enc ../raw/hts1a.raw hts1a_c2.bit - $ ./c2dec hts1a_c2.bit hts1a_c2.raw - -Programs --------- - -1/ c2demo encodes a file of speech samples, then decodes them and -saves the result. - -2/ c2enc encodes a file of speech samples to a compressed file of -encoded bits. - -3/ c2dec decodes a compressed file of bits to a file of speech -samples. - -4/ c2sim is a simulation/development version of Codec 2. It allows -selective use of the various Codec 2 algorithms. For example -switching phase modelling or LSP quantisation on and off. - -Debugging ---------- - -1/ For dump file support: - - $ cd codec2 - $ CFLAGS=-DDUMP ./configure - $ make clean && make - -2/ To use gdb: - - $ $ libtool --mode=execute gdb c2sim - -Directories ------------ - - script - shell scripts for playing and converting raw files - src - C source code - octave - Octave scripts used for visualising internal signals - during development - 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 - diff --git a/codec2-dev/unittest/Makefile.in b/codec2-dev/unittest/Makefile.in index d4e39501..6fafeec5 100644 --- a/codec2-dev/unittest/Makefile.in +++ b/codec2-dev/unittest/Makefile.in @@ -248,16 +248,6 @@ tcodec2_SOURCES = tcodec2.c ../src/quantise.c ../src/lpc.c ../src/lsp.c ../src/d tcodec2_LDADD = $(lib_LTLIBRARIES) tcodec2_LDFLAGS = $(LIBS) -genbands_SOURCES = genbands.c ../src/quantise.c ../src/lpc.c ../src/lsp.c ../src/dump.c ../src/fft.c ../src/kiss_fft.c \ -../src/codec2.c ../src/sine.c ../src/nlp.c ../src/postfilter.c ../src/phase.c ../src/interp.c $(CODEBOOKS) ../src/pack.c - -genbands_LDADD = $(lib_LTLIBRARIES) -genbands_LDFLAGS = $(LIBS) -vq_clip_test_SOURCES = vq_clip_test.c ../src/quantise.c ../src/lpc.c ../src/lsp.c ../src/dump.c ../src/fft.c ../src/kiss_fft.c \ -../src/codec2.c ../src/sine.c ../src/nlp.c ../src/postfilter.c ../src/phase.c ../src/interp.c $(CODEBOOKS) ../src/pack.c - -vq_clip_test_LDADD = $(lib_LTLIBRARIES) -vq_clip_test_LDFLAGS = $(LIBS) all: all-am .SUFFIXES: