[1d13710] | 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;
|
---|
[da13524] | 6 |
|
---|
[48b7295] | 7 | <!ENTITY alsa-utils-download-http "&alsa-download-http;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
|
---|
| 8 | <!ENTITY alsa-utils-download-ftp "&alsa-download-ftp;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
|
---|
[df0607c] | 9 | <!ENTITY alsa-utils-md5sum "361552d5b1cacd0a1e7ba09e69990211">
|
---|
[22fadd16] | 10 | <!ENTITY alsa-utils-size "1.1 MB">
|
---|
[df0607c] | 11 | <!ENTITY alsa-utils-buildsize "11 MB">
|
---|
| 12 | <!ENTITY alsa-utils-time "0.1 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
[43ef043b] | 14 |
|
---|
[a027d7d3] | 15 | <sect1 id="alsa-utils" xreflabel="alsa-utils-&alsa-utils-version;">
|
---|
[1d13710] | 16 | <?dbhtml filename="alsa-utils.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[a027d7d3] | 23 | <title>alsa-utils-&alsa-utils-version;</title>
|
---|
[1d13710] | 24 |
|
---|
| 25 | <indexterm zone="alsa-utils">
|
---|
[0d50cca] | 26 | <primary sortas="a-alsa-utils">alsa-utils</primary>
|
---|
[1d13710] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to ALSA Utilities</title>
|
---|
| 31 |
|
---|
[0d50cca] | 32 | <para>
|
---|
| 33 | The <application>ALSA Utilities</application> package contains
|
---|
| 34 | various utilities which are useful for controlling your sound
|
---|
| 35 | card.
|
---|
| 36 | </para>
|
---|
[1d13710] | 37 |
|
---|
[99e99c3] | 38 | &lfs76_checked;
|
---|
[831c11e4] | 39 |
|
---|
[1d13710] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
[0c7d410] | 42 | <listitem>
|
---|
[0d50cca] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&alsa-utils-download-http;"/>
|
---|
| 45 | </para>
|
---|
[0c7d410] | 46 | </listitem>
|
---|
[1d13710] | 47 | <listitem>
|
---|
[0d50cca] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&alsa-utils-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[1d13710] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[0d50cca] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &alsa-utils-md5sum;
|
---|
| 55 | </para>
|
---|
[1d13710] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[0d50cca] | 58 | <para>
|
---|
| 59 | Download size: &alsa-utils-size;
|
---|
| 60 | </para>
|
---|
[1d13710] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[0d50cca] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &alsa-utils-buildsize;
|
---|
| 65 | </para>
|
---|
[1d13710] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[0d50cca] | 68 | <para>
|
---|
| 69 | Estimated build time: &alsa-utils-time;
|
---|
| 70 | </para>
|
---|
[1d13710] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">ALSA Utilities Dependencies</bridgehead>
|
---|
[a41f643] | 75 |
|
---|
[1d13710] | 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[6a513a4] | 77 | <para role="required">
|
---|
[22fadd16] | 78 | <xref linkend="alsa-lib"/>
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
[09bed9e5] | 83 | <xref linkend="libsamplerate"/>,
|
---|
[fed174e] | 84 | <xref linkend="xmlto"/> and
|
---|
| 85 | <ulink url="http://hightek.org/dialog/">Dialog</ulink>
|
---|
[22fadd16] | 86 | </para>
|
---|
[1d13710] | 87 |
|
---|
[0e2aa08] | 88 | <para condition="html" role="usernotes">User Notes:
|
---|
[0d50cca] | 89 | <ulink url="&blfs-wiki;/alsa-utils"/>
|
---|
| 90 | </para>
|
---|
[1d13710] | 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of ALSA Utilities</title>
|
---|
| 95 |
|
---|
[0d50cca] | 96 | <para>
|
---|
| 97 | Install <application>ALSA Utilities</application> by
|
---|
| 98 | running the following commands:
|
---|
| 99 | </para>
|
---|
[1d13710] | 100 |
|
---|
[7dbb464c] | 101 | <screen><userinput>./configure --disable-alsaconf --disable-xmlto &&
|
---|
| 102 | make</userinput></screen>
|
---|
[1d13710] | 103 |
|
---|
[0d50cca] | 104 | <para>
|
---|
| 105 | This package does not come with a test suite.
|
---|
| 106 | </para>
|
---|
[1d13710] | 107 |
|
---|
[0d50cca] | 108 | <para>
|
---|
| 109 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 110 | </para>
|
---|
[1d13710] | 111 |
|
---|
[7dbb464c] | 112 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[09bed9e5] | 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="commands">
|
---|
| 117 | <title>Command Explanations</title>
|
---|
| 118 |
|
---|
| 119 | <para>
|
---|
| 120 | <option>--disable-alsaconf</option>: This switch disables building the
|
---|
| 121 | <command>alsaconf</command> configuration tool which is incompatible with
|
---|
| 122 | <application>Udev</application>.
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
| 126 | <option>--disable-xmlto</option>: Omit this switch if you have installed
|
---|
| 127 | <xref linkend="xmlto"/> and don't wish to install pregenerated man pages.
|
---|
| 128 | </para>
|
---|
[1d13710] | 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="configuration">
|
---|
| 133 | <title>Configuring ALSA Utilities</title>
|
---|
| 134 |
|
---|
| 135 | <sect3 id="alsa-utils-config">
|
---|
| 136 | <title>Config Files</title>
|
---|
| 137 |
|
---|
[0d50cca] | 138 | <para>
|
---|
| 139 | <filename>/var/lib/alsa/asound.state</filename>
|
---|
| 140 | </para>
|
---|
[1d13710] | 141 |
|
---|
| 142 | <indexterm zone="alsa-utils alsa-utils-config">
|
---|
[22fadd16] | 143 | <primary sortas="e-var-lib-alsa-asound.state">/var/lib/alsa/asound.state</primary>
|
---|
[1d13710] | 144 | </indexterm>
|
---|
| 145 |
|
---|
| 146 | </sect3>
|
---|
| 147 |
|
---|
[8c004cf5] | 148 | <sect3>
|
---|
[1d13710] | 149 | <title>Configuration Information</title>
|
---|
| 150 |
|
---|
[0d50cca] | 151 | <para>
|
---|
| 152 | Note that all channels of your sound card are muted by default.
|
---|
| 153 | You can use the <command>alsamixer</command> program to change
|
---|
| 154 | this. Use <command>speaker-test</command> to check that your
|
---|
| 155 | settings have been applied correctly. You should hear
|
---|
| 156 | <quote>pink noise</quote> on your speakers.
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
| 159 | <para>
|
---|
| 160 | The <filename>alsactl</filename> program is normally run from a
|
---|
| 161 | standard <application>udev</application> rule. The first time it
|
---|
| 162 | is run, it will complain that there is no state in
|
---|
| 163 | <filename>/var/lib/alsa/asound.state</filename>. You can prevent
|
---|
| 164 | this by running the following commands as the
|
---|
| 165 | <systemitem class="username">root</systemitem> user:
|
---|
| 166 | </para>
|
---|
[1d13710] | 167 |
|
---|
[55681b7] | 168 | <screen role="root"><userinput>touch /var/lib/alsa/asound.state &&
|
---|
[1d13710] | 169 | alsactl store</userinput></screen>
|
---|
| 170 |
|
---|
[0d50cca] | 171 | <para>
|
---|
[8c004cf5] | 172 | The volume settings should be restored from the saved state by
|
---|
[0d50cca] | 173 | <application>Udev</application> when the device is detected
|
---|
| 174 | (during boot or when plugged in for USB devices).
|
---|
| 175 | </para>
|
---|
[2ba0c1a] | 176 |
|
---|
[0d50cca] | 177 | <para>
|
---|
| 178 | All sound devices are not accessible for any user except
|
---|
| 179 | <systemitem class="username">root</systemitem> and members of the
|
---|
| 180 | <systemitem class="groupname">audio</systemitem> group. Add any
|
---|
| 181 | users that might use the sound devices to that group:
|
---|
| 182 | </para>
|
---|
[c5923846] | 183 |
|
---|
[3a79861] | 184 | <screen role="root"><userinput>usermod -a -G audio <replaceable><username></replaceable></userinput></screen>
|
---|
| 185 |
|
---|
| 186 | <note>
|
---|
[0d50cca] | 187 | <para>
|
---|
| 188 | You may need to log out and back in again to refresh your group
|
---|
| 189 | memberships. '<command>su <replaceable><username></replaceable></command>'
|
---|
| 190 | should work as well.
|
---|
| 191 | </para>
|
---|
[3a79861] | 192 | </note>
|
---|
| 193 |
|
---|
[1d13710] | 194 | </sect3>
|
---|
| 195 |
|
---|
| 196 | </sect2>
|
---|
| 197 |
|
---|
| 198 | <sect2 role="content">
|
---|
| 199 | <title>Contents</title>
|
---|
| 200 |
|
---|
| 201 | <segmentedlist>
|
---|
| 202 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 203 | <segtitle>Installed Libraries</segtitle>
|
---|
| 204 | <segtitle>Installed Directories</segtitle>
|
---|
[1d13710] | 205 |
|
---|
| 206 | <seglistitem>
|
---|
[0d50cca] | 207 | <seg>
|
---|
[09bed9e5] | 208 | aconnect, alsactl, alsaloop, alsamixer,
|
---|
[df0607c] | 209 | alsaucm, amidi, amixer, aplay, aplaymidi, arecord (symlink),
|
---|
[0d50cca] | 210 | arecordmidi, aseqdump, aseqnet, iecset and
|
---|
| 211 | speaker-test
|
---|
| 212 | </seg>
|
---|
[c3c56b2] | 213 | <seg>
|
---|
| 214 | None
|
---|
| 215 | </seg>
|
---|
[0d50cca] | 216 | <seg>
|
---|
| 217 | /usr/share/sounds/alsa and /var/lib/alsa
|
---|
| 218 | </seg>
|
---|
[1d13710] | 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="aconnect">
|
---|
| 228 | <term><command>aconnect</command></term>
|
---|
| 229 | <listitem>
|
---|
[0d50cca] | 230 | <para>
|
---|
| 231 | is a utility for connecting and disconnecting two
|
---|
| 232 | existing ports in the ALSA sequencer system.
|
---|
| 233 | </para>
|
---|
[1d13710] | 234 | <indexterm zone="alsa-utils aconnect">
|
---|
| 235 | <primary sortas="b-aconnect">aconnect</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | <varlistentry id="alsactl">
|
---|
| 241 | <term><command>alsactl</command></term>
|
---|
| 242 | <listitem>
|
---|
[0d50cca] | 243 | <para>
|
---|
| 244 | is used to control advanced settings for the
|
---|
| 245 | ALSA sound card drivers.
|
---|
| 246 | </para>
|
---|
[1d13710] | 247 | <indexterm zone="alsa-utils alsactl">
|
---|
| 248 | <primary sortas="b-alsactl">alsactl</primary>
|
---|
| 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 |
|
---|
[0d50cca] | 253 | <varlistentry id="alsaloop">
|
---|
| 254 | <term><command>alsaloop</command></term>
|
---|
| 255 | <listitem>
|
---|
| 256 | <para>
|
---|
[b4b2a76] | 257 | allows creation of a PCM loopback between a PCM capture
|
---|
[0d50cca] | 258 | device and a PCM playback device.
|
---|
| 259 | </para>
|
---|
| 260 | <indexterm zone="alsa-utils alsaloop">
|
---|
| 261 | <primary sortas="b-alsaloop">alsaloop</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
| 265 |
|
---|
[1d13710] | 266 | <varlistentry id="alsamixer">
|
---|
| 267 | <term><command>alsamixer</command></term>
|
---|
| 268 | <listitem>
|
---|
[0d50cca] | 269 | <para>
|
---|
| 270 | is an Ncurses based mixer program for use with
|
---|
| 271 | the ALSA sound card drivers.
|
---|
| 272 | </para>
|
---|
[1d13710] | 273 | <indexterm zone="alsa-utils alsamixer">
|
---|
| 274 | <primary sortas="b-alsamixer">alsamixer</primary>
|
---|
| 275 | </indexterm>
|
---|
| 276 | </listitem>
|
---|
| 277 | </varlistentry>
|
---|
| 278 |
|
---|
[fed174e] | 279 | <varlistentry id="alsaucm">
|
---|
| 280 | <term><command>alsaucm</command></term>
|
---|
| 281 | <listitem>
|
---|
| 282 | <para>
|
---|
| 283 | allows applications to access the hardware in an abstracted manner
|
---|
| 284 | </para>
|
---|
| 285 | <indexterm zone="alsa-utils alsaucm">
|
---|
| 286 | <primary sortas="b-alsaucm">alsaucm</primary>
|
---|
| 287 | </indexterm>
|
---|
| 288 | </listitem>
|
---|
| 289 | </varlistentry>
|
---|
| 290 |
|
---|
[1d13710] | 291 | <varlistentry id="amidi">
|
---|
| 292 | <term><command>amidi</command></term>
|
---|
| 293 | <listitem>
|
---|
[0d50cca] | 294 | <para>
|
---|
| 295 | is used to read from and write to ALSA
|
---|
| 296 | RawMIDI ports.
|
---|
| 297 | </para>
|
---|
[1d13710] | 298 | <indexterm zone="alsa-utils amidi">
|
---|
| 299 | <primary sortas="b-amidi">amidi</primary>
|
---|
| 300 | </indexterm>
|
---|
| 301 | </listitem>
|
---|
| 302 | </varlistentry>
|
---|
| 303 |
|
---|
| 304 | <varlistentry id="amixer">
|
---|
| 305 | <term><command>amixer</command></term>
|
---|
| 306 | <listitem>
|
---|
[9df3b847] | 307 | <para> allows command-line control of the mixers for the
|
---|
[1d13710] | 308 | ALSA sound card drivers.</para>
|
---|
| 309 | <indexterm zone="alsa-utils amixer">
|
---|
| 310 | <primary sortas="b-amixer">amixer</primary>
|
---|
| 311 | </indexterm>
|
---|
| 312 | </listitem>
|
---|
| 313 | </varlistentry>
|
---|
| 314 |
|
---|
| 315 | <varlistentry id="aplay">
|
---|
| 316 | <term><command>aplay</command></term>
|
---|
| 317 | <listitem>
|
---|
[0d50cca] | 318 | <para>
|
---|
| 319 | is a command-line soundfile player for the
|
---|
| 320 | ALSA sound card drivers.
|
---|
| 321 | </para>
|
---|
[1d13710] | 322 | <indexterm zone="alsa-utils aplay">
|
---|
| 323 | <primary sortas="b-aplay">aplay</primary>
|
---|
| 324 | </indexterm>
|
---|
| 325 | </listitem>
|
---|
| 326 | </varlistentry>
|
---|
| 327 |
|
---|
| 328 | <varlistentry id="aplaymidi">
|
---|
| 329 | <term><command>aplaymidi</command></term>
|
---|
| 330 | <listitem>
|
---|
[0d50cca] | 331 | <para>
|
---|
| 332 | is a command-line utility that plays the specified
|
---|
| 333 | MIDI file(s) to one or more ALSA sequencer ports.
|
---|
| 334 | </para>
|
---|
[1d13710] | 335 | <indexterm zone="alsa-utils aplaymidi">
|
---|
| 336 | <primary sortas="b-aplaymidi">aplaymidi</primary>
|
---|
| 337 | </indexterm>
|
---|
| 338 | </listitem>
|
---|
| 339 | </varlistentry>
|
---|
| 340 |
|
---|
| 341 | <varlistentry id="arecord">
|
---|
| 342 | <term><command>arecord</command></term>
|
---|
| 343 | <listitem>
|
---|
[0d50cca] | 344 | <para>
|
---|
| 345 | is a command-line soundfile recorder for the
|
---|
| 346 | ALSA sound card drivers.
|
---|
| 347 | </para>
|
---|
[1d13710] | 348 | <indexterm zone="alsa-utils arecord">
|
---|
| 349 | <primary sortas="b-arecord">arecord</primary>
|
---|
| 350 | </indexterm>
|
---|
| 351 | </listitem>
|
---|
| 352 | </varlistentry>
|
---|
| 353 |
|
---|
| 354 | <varlistentry id="arecordmidi">
|
---|
| 355 | <term><command>arecordmidi</command></term>
|
---|
| 356 | <listitem>
|
---|
[0d50cca] | 357 | <para>
|
---|
| 358 | is a command-line utility that records a standard
|
---|
| 359 | MIDI file from one or more ALSA sequencer ports.
|
---|
| 360 | </para>
|
---|
[1d13710] | 361 | <indexterm zone="alsa-utils arecordmidi">
|
---|
| 362 | <primary sortas="b-arecordmidi">arecordmidi</primary>
|
---|
| 363 | </indexterm>
|
---|
| 364 | </listitem>
|
---|
| 365 | </varlistentry>
|
---|
| 366 |
|
---|
[bdf22d74] | 367 | <varlistentry id="aseqdump">
|
---|
| 368 | <term><command>aseqdump</command></term>
|
---|
| 369 | <listitem>
|
---|
[0d50cca] | 370 | <para>
|
---|
| 371 | is a command-line utility that prints the sequencer events it
|
---|
| 372 | receives as text.
|
---|
| 373 | </para>
|
---|
[bdf22d74] | 374 | <indexterm zone="alsa-utils aseqdump">
|
---|
| 375 | <primary sortas="b-aseqdump">aseqdump</primary>
|
---|
| 376 | </indexterm>
|
---|
| 377 | </listitem>
|
---|
| 378 | </varlistentry>
|
---|
| 379 |
|
---|
[1d13710] | 380 | <varlistentry id="aseqnet">
|
---|
| 381 | <term><command>aseqnet</command></term>
|
---|
| 382 | <listitem>
|
---|
[0d50cca] | 383 | <para>
|
---|
| 384 | is an ALSA sequencer client which sends and
|
---|
| 385 | receives event packets over a network.
|
---|
| 386 | </para>
|
---|
[1d13710] | 387 | <indexterm zone="alsa-utils aseqnet">
|
---|
| 388 | <primary sortas="b-aseqnet">aseqnet</primary>
|
---|
| 389 | </indexterm>
|
---|
| 390 | </listitem>
|
---|
| 391 | </varlistentry>
|
---|
| 392 |
|
---|
| 393 | <varlistentry id="iecset">
|
---|
| 394 | <term><command>iecset</command></term>
|
---|
| 395 | <listitem>
|
---|
[0d50cca] | 396 | <para>
|
---|
| 397 | is a small utility to set or dump the IEC958 (or so-called
|
---|
| 398 | <quote>S/PDIF</quote>) status bits of the specified sound
|
---|
| 399 | card via the ALSA control API.
|
---|
| 400 | </para>
|
---|
[1d13710] | 401 | <indexterm zone="alsa-utils iecset">
|
---|
| 402 | <primary sortas="b-iecset">iecset</primary>
|
---|
| 403 | </indexterm>
|
---|
| 404 | </listitem>
|
---|
| 405 | </varlistentry>
|
---|
| 406 |
|
---|
| 407 | <varlistentry id="speaker-test">
|
---|
| 408 | <term><command>speaker-test</command></term>
|
---|
| 409 | <listitem>
|
---|
[0d50cca] | 410 | <para>
|
---|
| 411 | is a command-line speaker test tone generator for ALSA.
|
---|
| 412 | </para>
|
---|
[1d13710] | 413 | <indexterm zone="alsa-utils speaker-test">
|
---|
| 414 | <primary sortas="b-speaker-test">speaker-test</primary>
|
---|
| 415 | </indexterm>
|
---|
| 416 | </listitem>
|
---|
| 417 | </varlistentry>
|
---|
| 418 |
|
---|
| 419 | </variablelist>
|
---|
| 420 |
|
---|
| 421 | </sect2>
|
---|
[48b7295] | 422 |
|
---|
| 423 | </sect1>
|
---|