1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY speex-download-http "https://downloads.xiph.org/releases/speex/speex-&speex-version;.tar.gz">
|
---|
8 | <!ENTITY speex-download-ftp " ">
|
---|
9 | <!ENTITY speex-md5sum "fe7bf610883ff202092b92c72fe0fe3e">
|
---|
10 | <!ENTITY speex-size "1020 KB">
|
---|
11 | <!ENTITY speex-buildsize "7.8 MB">
|
---|
12 | <!ENTITY speex-time "less than 0.1 SBU">
|
---|
13 |
|
---|
14 | <!ENTITY speexdsp-download-http "https://downloads.xiph.org/releases/speex/speexdsp-&speexdsp-version;.tar.gz">
|
---|
15 | <!ENTITY speexdsp-download-ftp " ">
|
---|
16 | <!ENTITY speexdsp-md5sum "e6eb5ddef743a362c8018f260b91dca5">
|
---|
17 | <!ENTITY speexdsp-size "904 KB">
|
---|
18 | <!ENTITY speexdsp-buildsize "5.5 MB">
|
---|
19 | <!ENTITY speexdsp-time "less than 0.1 SBU">
|
---|
20 |
|
---|
21 | ]>
|
---|
22 |
|
---|
23 | <sect1 id="speex" xreflabel="Speex-&speex-version;">
|
---|
24 | <?dbhtml filename="speex.html"?>
|
---|
25 |
|
---|
26 |
|
---|
27 | <title>Speex-&speex-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="speex">
|
---|
30 | <primary sortas="a-Speex">Speex</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to Speex</title>
|
---|
35 |
|
---|
36 | <para>
|
---|
37 | <application>Speex</application> is an audio compression format
|
---|
38 | designed specifically for speech. It is well-adapted to internet
|
---|
39 | applications and provides useful features that are not present in most
|
---|
40 | other CODECs.
|
---|
41 | </para>
|
---|
42 |
|
---|
43 | &lfs122_checked;
|
---|
44 |
|
---|
45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
46 | <itemizedlist spacing="compact">
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (HTTP): <ulink url="&speex-download-http;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download (FTP): <ulink url="&speex-download-ftp;"/>
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download MD5 sum: &speex-md5sum;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Download size: &speex-size;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated disk space required: &speex-buildsize;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Estimated build time: &speex-time;
|
---|
75 | </para>
|
---|
76 | </listitem>
|
---|
77 | </itemizedlist>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
80 | <itemizedlist spacing="compact">
|
---|
81 | <listitem>
|
---|
82 | <para>
|
---|
83 | Download (HTTP): <ulink url="&speexdsp-download-http;"/>
|
---|
84 | </para>
|
---|
85 | </listitem>
|
---|
86 | <listitem>
|
---|
87 | <para>
|
---|
88 | Download (FTP): <ulink url="&speexdsp-download-ftp;"/>
|
---|
89 | </para>
|
---|
90 | </listitem>
|
---|
91 | <listitem>
|
---|
92 | <para>
|
---|
93 | Download MD5 sum: &speexdsp-md5sum;
|
---|
94 | </para>
|
---|
95 | </listitem>
|
---|
96 | <listitem>
|
---|
97 | <para>
|
---|
98 | Download size: &speexdsp-size;
|
---|
99 | </para>
|
---|
100 | </listitem>
|
---|
101 | <listitem>
|
---|
102 | <para>
|
---|
103 | Estimated disk space required: &speexdsp-buildsize;
|
---|
104 | </para>
|
---|
105 | </listitem>
|
---|
106 | <listitem>
|
---|
107 | <para>
|
---|
108 | Estimated build time: &speexdsp-time;
|
---|
109 | </para>
|
---|
110 | </listitem>
|
---|
111 | </itemizedlist>
|
---|
112 | <!--
|
---|
113 | <bridgehead renderas="sect3">Additional Download</bridgehead>
|
---|
114 | <itemizedlist spacing="compact">
|
---|
115 | <listitem>
|
---|
116 | <para>
|
---|
117 | Required patch:
|
---|
118 | <ulink url="&patch-root;/speexdsp-&speex-version;-build_fixes-1.patch"/>
|
---|
119 | </para>
|
---|
120 | </listitem>
|
---|
121 | </itemizedlist>-->
|
---|
122 |
|
---|
123 | <bridgehead renderas="sect3">Speex Dependencies</bridgehead>
|
---|
124 |
|
---|
125 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
126 | <para role="required">
|
---|
127 | <xref linkend="libogg"/>
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
131 | <para role="optional">
|
---|
132 | <xref linkend="valgrind"/>
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2 role="installation">
|
---|
138 | <title>Installation of Speex</title>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | This package consists of two separate tarballs.
|
---|
142 | They need to be extracted and built independently.
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | <para>
|
---|
146 | Install <application>Speex</application> by running the
|
---|
147 | following commands:
|
---|
148 | </para>
|
---|
149 |
|
---|
150 | <screen><userinput>./configure --prefix=/usr \
|
---|
151 | --disable-static \
|
---|
152 | --docdir=/usr/share/doc/speex-&speex-version; &&
|
---|
153 | make</userinput></screen>
|
---|
154 |
|
---|
155 | <para>
|
---|
156 | This package does not come with a test suite.
|
---|
157 | </para>
|
---|
158 |
|
---|
159 | <para>
|
---|
160 | As the <systemitem class="username">root</systemitem> user:
|
---|
161 | </para>
|
---|
162 |
|
---|
163 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
164 |
|
---|
165 | <para>
|
---|
166 | Now extract and install the speexdsp package:
|
---|
167 | </para>
|
---|
168 |
|
---|
169 | <screen><userinput>cd .. &&
|
---|
170 | tar -xf speexdsp-&speexdsp-version;.tar.gz &&
|
---|
171 | cd speexdsp-&speexdsp-version; &&
|
---|
172 |
|
---|
173 | ./configure --prefix=/usr \
|
---|
174 | --disable-static \
|
---|
175 | --docdir=/usr/share/doc/speexdsp-&speexdsp-version; &&
|
---|
176 | make</userinput></screen>
|
---|
177 |
|
---|
178 | <para>
|
---|
179 | Again, as the <systemitem class="username">root</systemitem> user:
|
---|
180 | </para>
|
---|
181 |
|
---|
182 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
183 |
|
---|
184 | </sect2>
|
---|
185 |
|
---|
186 | <sect2 role="commands">
|
---|
187 | <title>Command Explanations</title>
|
---|
188 |
|
---|
189 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
190 | href="../../xincludes/static-libraries.xml"/>
|
---|
191 |
|
---|
192 | <!-- Included by default as of 1.2.1
|
---|
193 | <para>
|
---|
194 | <option>- -enable-binaries</option>: Builds two binaries to encode and
|
---|
195 | decode to and from the speex format.
|
---|
196 | </para>
|
---|
197 | -->
|
---|
198 |
|
---|
199 | </sect2>
|
---|
200 |
|
---|
201 | <sect2 role="content">
|
---|
202 | <title>Contents</title>
|
---|
203 |
|
---|
204 | <segmentedlist>
|
---|
205 | <segtitle>Installed Programs</segtitle>
|
---|
206 | <segtitle>Installed Libraries</segtitle>
|
---|
207 | <segtitle>Installed Directories</segtitle>
|
---|
208 |
|
---|
209 | <seglistitem>
|
---|
210 | <seg>speexenc and speexdec</seg>
|
---|
211 | <seg>libspeex.so and libspeexdsp.so</seg>
|
---|
212 | <seg>
|
---|
213 | /usr/include/speex and
|
---|
214 | /usr/share/doc/speex-&speex-version;
|
---|
215 | </seg>
|
---|
216 | </seglistitem>
|
---|
217 | </segmentedlist>
|
---|
218 |
|
---|
219 | <variablelist>
|
---|
220 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
221 | <?dbfo list-presentation="list"?>
|
---|
222 | <?dbhtml list-presentation="table"?>
|
---|
223 |
|
---|
224 | <varlistentry id="speexdec">
|
---|
225 | <term><command>speexdec</command></term>
|
---|
226 | <listitem>
|
---|
227 | <para>
|
---|
228 | decodes a <application>Speex</application> file and
|
---|
229 | produces a WAV or raw file
|
---|
230 | </para>
|
---|
231 | <indexterm zone="speex speexdec">
|
---|
232 | <primary sortas="b-speexdec">speexdec</primary>
|
---|
233 | </indexterm>
|
---|
234 | </listitem>
|
---|
235 | </varlistentry>
|
---|
236 |
|
---|
237 | <varlistentry id="speexenc">
|
---|
238 | <term><command>speexenc</command></term>
|
---|
239 | <listitem>
|
---|
240 | <para>
|
---|
241 | encodes a WAV or raw file using <application>Speex</application>
|
---|
242 | </para>
|
---|
243 | <indexterm zone="speex speexenc">
|
---|
244 | <primary sortas="b-speexenc">speexenc</primary>
|
---|
245 | </indexterm>
|
---|
246 | </listitem>
|
---|
247 | </varlistentry>
|
---|
248 |
|
---|
249 | <varlistentry id="libspeex">
|
---|
250 | <term><filename class="libraryfile">libspeex.so</filename></term>
|
---|
251 | <listitem>
|
---|
252 | <para>
|
---|
253 | provides functions for the audio encoding/decoding programs
|
---|
254 | </para>
|
---|
255 | <indexterm zone="speex libspeex">
|
---|
256 | <primary sortas="c-libspeex">libspeex.so</primary>
|
---|
257 | </indexterm>
|
---|
258 | </listitem>
|
---|
259 | </varlistentry>
|
---|
260 |
|
---|
261 | <varlistentry id="libspeexdsp">
|
---|
262 | <term><filename class="libraryfile">libspeexdsp.so</filename></term>
|
---|
263 | <listitem>
|
---|
264 | <para>
|
---|
265 | is a speech processing library that goes along with the
|
---|
266 | <application>Speex</application> codec
|
---|
267 | </para>
|
---|
268 | <indexterm zone="speex libspeexdsp">
|
---|
269 | <primary sortas="c-libspeexdsp">libspeexdsp.so</primary>
|
---|
270 | </indexterm>
|
---|
271 | </listitem>
|
---|
272 | </varlistentry>
|
---|
273 |
|
---|
274 | </variablelist>
|
---|
275 |
|
---|
276 | </sect2>
|
---|
277 |
|
---|
278 | </sect1>
|
---|