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