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