Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2007-03-27 15:21:46 +0400
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2007-03-27 15:21:46 +0400
commitedfad4fe813258e978153ff5d95c4a4a969c25a3 (patch)
tree48275ba90442ac211b7a324273c52dd851090684 /doc
parenta4268af86f8bed97c9cff22d69d7f023abb9d7f3 (diff)
Attempting to make Speex harder to misuse (for those who RTFM)
git-svn-id: http://svn.xiph.org/trunk/speex@12809 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.lyx56
1 files changed, 55 insertions, 1 deletions
diff --git a/doc/manual.lyx b/doc/manual.lyx
index 8107227..5c922d0 100644
--- a/doc/manual.lyx
+++ b/doc/manual.lyx
@@ -1,4 +1,4 @@
-#LyX 1.4.3 created this file. For more info see http://www.lyx.org/
+#LyX 1.4.4 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
@@ -1729,6 +1729,31 @@ http://www.embeddedstar.com/articles/2003/7/article20030720-1.html
same.
\end_layout
+\begin_layout Standard
+As of version 1.2beta2, a new
+\family typewriter
+echo_diagnostic.m
+\family default
+ tool is included in the source distribution.
+ The first step is to define DUMP_ECHO_CANCEL_DATA during the build.
+ This causes the echo canceller to automatically save the near-end, far-end
+ and output signals to files (aec_rec.sw aec_play.sw and aec_out.sw).
+ These are exactly what the AEC receives and outputs.
+ From there, it is necessary to start Octave and type:
+\end_layout
+
+\begin_layout LyX-Code
+echo_diagnostic('aec_rec.sw', 'aec_play.sw', 'aec_diagnostic.sw', 1024);
+\end_layout
+
+\begin_layout Standard
+The value of 1024 is the filter length and can be changed.
+ There will be some (hopefully) useful messages printed and echo cancelled
+ audio will be saved to aec_diagnostic.sw .
+ If even that output is bad (almost no cancellation) then there is probably
+ problem with the playback or recording process.
+\end_layout
+
\begin_layout Section
Codec Options (speex_*_ctl)
\begin_inset LatexCommand \label{sub:Codec-Options}
@@ -1738,6 +1763,20 @@ Codec Options (speex_*_ctl)
\end_layout
+\begin_layout Quote
+\align center
+
+\emph on
+Entities should not be multiplied beyond necessity -- William of Ockham.
+\end_layout
+
+\begin_layout Quote
+\align center
+
+\emph on
+Just because there's an option doesn't mean you have to use it -- me.
+\end_layout
+
\begin_layout Standard
The Speex encoder and decoder support many options and requests that can
be accessed through the
@@ -1749,6 +1788,13 @@ speex_encoder_ctl
speex_decoder_ctl
\emph default
functions.
+ Despite that, the defaults are good for many applications and
+\series bold
+optional settings should only be used when one understands them and knows
+ that they are needed
+\series default
+.
+ A common error is to attempt to set many unnecessary settings.
These functions are similar to the
\emph on
ioctl
@@ -3495,6 +3541,14 @@ Introduction to CELP Coding
\end_layout
+\begin_layout Quote
+\align center
+
+\emph on
+Do not meddle in the affairs of poles, for they are subtle and quick to
+ leave the unit circle.
+\end_layout
+
\begin_layout Standard
Speex is based on CELP, which stands for Code Excited Linear Prediction.
This section attempts to introduce the principles behind CELP, so if you