[xiph-cvs] cvs commit: speex/src speexdec.1 speexdec.c speexenc.1 speexenc.c
Jean-Marc Valin
jm at xiph.org
Sat Mar 22 11:19:49 PST 2003
jm 03/03/22 14:19:48
Modified: . configure.in
doc manual.lyx manual.pdf
libspeex misc.h
src speexdec.1 speexdec.c speexenc.1 speexenc.c
Log:
cosmetic fixes
Revision Changes Path
1.49 +1 -2 speex/configure.in
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/speex/configure.in,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- configure.in 18 Mar 2003 06:13:29 -0000 1.48
+++ configure.in 22 Mar 2003 19:19:48 -0000 1.49
@@ -5,8 +5,7 @@
SPEEX_MAJOR_VERSION=1
SPEEX_MINOR_VERSION=0
SPEEX_MICRO_VERSION=0
-SPEEX_VERSION=$SPEEX_MAJOR_VERSION.$SPEEX_MINOR_VERSION.$SPEEX_MICRO_VERSION
-# SPEEX_VERSION=1.0.0
+SPEEX_VERSION=1.0
SPEEX_LT_CURRENT=1
SPEEX_LT_REVISION=0
<p><p>1.62 +21 -24 speex/doc/manual.lyx
Index: manual.lyx
===================================================================
RCS file: /usr/local/cvsroot/speex/doc/manual.lyx,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- manual.lyx 19 Mar 2003 21:49:42 -0000 1.61
+++ manual.lyx 22 Mar 2003 19:19:48 -0000 1.62
@@ -1,12 +1,9 @@
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
-\begin_preamble
-\usepackage{times}
-\end_preamble
\language english
\inputencoding auto
-\fontscheme default
+\fontscheme pslatex
\graphics default
\paperfontsize default
\spacing single
@@ -78,13 +75,13 @@
There is already Vorbis that does general audio, but it is not really suitable
for speech.
Also, unlike many other speech codecs, Speex is not targeted at cell phones
- (not many open-source cell phones anyway :-) ) but rather voice over IP
- (VoIP) and file-based compression.
+ (not many open-source cell phones anyway :-) ) but rather at voice over
+ IP (VoIP) and file-based compression.
\layout Standard
-As design goals, we wanted to have a codec that would allowed both very
- good quality speech and low bit-rate (unfortunately not at the same time!),
+As design goals, we wanted to have a codec that would allow both very good
+ quality speech and low bit-rate (unfortunately not at the same time!),
which led us to developing a codec with multiple bit-rates.
Of course very good quality also meant we had to do wideband (16 kHz sampling
rate) in addition to narrowband (telephone quality, 8 kHz sampling rate).
@@ -177,7 +174,7 @@
\end_inset
- describes the different Speex features and define some terms that will
+ describes the different Speex features and defines some terms that will
be used in later sections.
Section
\begin_inset LatexCommand \ref{sec:Command-line-encoder/decoder}
@@ -189,7 +186,7 @@
\end_inset
- contrains information about programming using the Speex API.
+ contains information about programming using the Speex API.
Section
\begin_inset LatexCommand \ref{sec:Formats-and-standards}
@@ -302,7 +299,7 @@
compression utilities.
For normal use, the noise level at complexity 1is between 1 and 2 dB higher
than at complexity 10, but the CPU requirements for complexity 10 is about
- 5 time higher than for complexity 1.
+ 5 times higher than for complexity 1.
In practice, the best trade-off is between complexity 2 and 4, though higher
settings are often useful when encoding non-speech sounds like DTMF
\begin_inset LatexCommand \index{DTMF}
@@ -353,7 +350,7 @@
Average bit-rate solves one of the problems of VBR, as it dynamically adjusts
VBR quality in order to meet a specific target bit-rate.
Because the quality/bit-rate is adjusted in real-time (open-loop), the
- global quality will be slightly lower than that obtained be encoding in
+ global quality will be slightly lower than that obtained by encoding in
VBR with exactly the right quality setting to meet the target average bit-rate.
\layout Subsection*
@@ -391,7 +388,7 @@
\layout Standard
Discontinuous transmission is an addition to VAD/VBR operation, that allows
- to stop transmitting completely when the background noise is stationnary.
+ to stop transmitting completely when the background noise is stationary.
In file-based operation, since we cannot just stop writing to the file,
only 5 bits are used for such frames (corresponding to 250 bps).
\layout Subsection*
@@ -1092,8 +1089,8 @@
Mode queries
\layout Standard
-Speex modes have a querry system similar to the speex_encoder_ctl and speex_deco
-der_ctl calls.
+Speex modes have a query system similar to the speex_encoder_ctl and speex_decod
+er_ctl calls.
Since modes are read-only, it is only possible to get information about
a particular mode.
The function used to do that is:
@@ -1113,7 +1110,7 @@
SPEEX_MODE_FRAME_SIZE Get the frame size (in samples) for the mode
\layout Description
-SPEEX_SUBMODE_BITRATE Get the bit-rate for a submode number specified throught
+SPEEX_SUBMODE_BITRATE Get the bit-rate for a submode number specified through
\emph on
ptr
@@ -1158,11 +1155,11 @@
\end_inset
to the other side.
- All these messages are encoded as a
+ All these messages are encoded as
\begin_inset Quotes eld
\end_inset
-pseudo-frame
+pseudo-frames
\begin_inset Quotes erd
\end_inset
@@ -1173,7 +1170,7 @@
\end_inset
lists the available codes, their meaning and the size of the message that
- follow.
+ follows.
Most of these messages are requests that are sent to the encoder or decoder
on the other end, which is free to comply or ignore them.
By default, all in-band messages are ignored.
@@ -1682,7 +1679,7 @@
Speex can encode speech in both narrowband and wideband and provides different
bit-rates.
- However not all features must be supported by a certain implementation
+ However, not all features need to be supported by a certain implementation
or device.
In order to be said
\begin_inset Quotes eld
@@ -1748,7 +1745,7 @@
MIME Type
\layout Standard
-For now, you should use the MIME type audio/speex for Speex.
+For now, you should use the MIME type audio/x-speex for Speex.
We will apply for type
\family typewriter
audio/speex
@@ -2358,7 +2355,7 @@
\layout Standard
-Linear prediction is at the base of may speech coding techniques, including
+Linear prediction is at the base of many speech coding techniques, including
CELP.
The idea behind it is to predict the signal
\begin_inset Formula $x[n]$
@@ -2520,8 +2517,8 @@
to filtering in the frequency domain, reducing sharp resonances.
\layout Standard
-The linear prediction model represents each speech sample as linear combination
- of past samples, plus an error signal called the excitation (or residual).
+The linear prediction model represents each speech sample as a linear combinatio
+n of past samples, plus an error signal called the excitation (or residual).
\begin_inset Formula \[
x[n]=\sum_{i=1}^{N}a_{i}x[n-i]+e[n]\]
<p><p>1.11 +1225 -1494speex/doc/manual.pdf
Index: manual.pdf
===================================================================
RCS file: /usr/local/cvsroot/speex/doc/manual.pdf,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
Binary files /tmp/cvslOFmXP and /tmp/cvsgKy0ny differ
<p><p>1.20 +1 -1 speex/libspeex/misc.h
Index: misc.h
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/misc.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- misc.h 10 Mar 2003 17:16:17 -0000 1.19
+++ misc.h 22 Mar 2003 19:19:48 -0000 1.20
@@ -36,7 +36,7 @@
#define MISC_H
#ifndef VERSION
-#define VERSION "speex-1.0.0"
+#define VERSION "speex-1.0"
#endif
/*Disable some warnings on VC++*/
<p><p>1.11 +2 -2 speex/src/speexdec.1
Index: speexdec.1
===================================================================
RCS file: /usr/local/cvsroot/speex/src/speexdec.1,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- speexdec.1 5 Mar 2003 17:47:14 -0000 1.10
+++ speexdec.1 22 Mar 2003 19:19:48 -0000 1.11
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.29.
-.TH SPEEXDEC "1" "December 2002" "speexdec version 1.0.0" "User Commands"
+.TH SPEEXDEC "1" "December 2002" "speexdec version 1.0" "User Commands"
.SH NAME
-speexdec \- manual page for speexdec version 1.0.0
+speexdec \- manual page for speexdec version 1.0
.SH SYNOPSIS
.B speexdec
[\fIoptions\fR] \fIinput_file.spx \fR[\fIoutput_file\fR]
<p><p>1.74 +3 -3 speex/src/speexdec.c
Index: speexdec.c
===================================================================
RCS file: /usr/local/cvsroot/speex/src/speexdec.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- speexdec.c 17 Jan 2003 05:15:08 -0000 1.73
+++ speexdec.c 22 Mar 2003 19:19:48 -0000 1.74
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Jean-Marc Valin
+/* Copyright (C) 2002-2003 Jean-Marc Valin
File: speexdec.c
Redistribution and use in source and binary forms, with or without
@@ -247,13 +247,13 @@
void version()
{
printf ("speexdec (Speex decoder) version " VERSION " (compiled " __DATE__ ")\n");
- printf ("Copyright (C) 2002 Jean-Marc Valin\n");
+ printf ("Copyright (C) 2002-2003 Jean-Marc Valin\n");
}
void version_short()
{
printf ("speexdec version " VERSION "\n");
- printf ("Copyright (C) 2002 Jean-Marc Valin\n");
+ printf ("Copyright (C) 2002-2003 Jean-Marc Valin\n");
}
static void *process_header(ogg_packet *op, int enh_enabled, int *frame_size, int *rate, int *nframes, int forceMode, int *channels, SpeexStereoState *stereo, int *extra_headers)
<p><p>1.9 +2 -2 speex/src/speexenc.1
Index: speexenc.1
===================================================================
RCS file: /usr/local/cvsroot/speex/src/speexenc.1,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- speexenc.1 5 Mar 2003 17:47:15 -0000 1.8
+++ speexenc.1 22 Mar 2003 19:19:48 -0000 1.9
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.29.
-.TH SPEEXENC "1" "December 2002" "speexenc version 1.0.0" "User Commands"
+.TH SPEEXENC "1" "December 2002" "speexenc version 1.0" "User Commands"
.SH NAME
-speexenc \- manual page for speexenc version 1.0.0
+speexenc \- manual page for speexenc version 1.0
.SH SYNOPSIS
.B speexenc
[\fIoptions\fR] \fIinput_file output_file\fR
<p><p>1.76 +3 -3 speex/src/speexenc.c
Index: speexenc.c
===================================================================
RCS file: /usr/local/cvsroot/speex/src/speexenc.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- speexenc.c 13 Mar 2003 21:34:26 -0000 1.75
+++ speexenc.c 22 Mar 2003 19:19:48 -0000 1.76
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Jean-Marc Valin
+/* Copyright (C) 2002-2003 Jean-Marc Valin
File: speexenc.c
Redistribution and use in source and binary forms, with or without
@@ -139,13 +139,13 @@
void version()
{
printf ("speexenc (Speex encoder) version " VERSION " (compiled " __DATE__ ")\n");
- printf ("Copyright (C) 2002 Jean-Marc Valin\n");
+ printf ("Copyright (C) 2002-2003 Jean-Marc Valin\n");
}
void version_short()
{
printf ("speexenc version " VERSION "\n");
- printf ("Copyright (C) 2002 Jean-Marc Valin\n");
+ printf ("Copyright (C) 2002-2003 Jean-Marc Valin\n");
}
void usage()
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list