[ff769b8c] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[48b7295] | 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
[da13524] | 5 |
|
---|
[48b7295] | 6 | <!ENTITY alsa-utils-download-http "&alsa-download-http;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
|
---|
| 7 | <!ENTITY alsa-utils-download-ftp "&alsa-download-ftp;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
|
---|
[ac789c0] | 8 | <!ENTITY alsa-utils-md5sum "c72d0efa9c88770a10733ec2abc1a872">
|
---|
| 9 | <!ENTITY alsa-utils-size "224 KB">
|
---|
| 10 | <!ENTITY alsa-utils-buildsize "3.6 MB">
|
---|
[48b7295] | 11 | <!ENTITY alsa-utils-time "0.08 SBU">
|
---|
| 12 | ]>
|
---|
[43ef043b] | 13 |
|
---|
[48b7295] | 14 | <sect1 id="alsa-utils" xreflabel="ALSA Utilities-&alsa-utils-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[48b7295] | 19 | <?dbhtml filename="alsa-utils.html"?>
|
---|
| 20 | <title>ALSA Utilities-&alsa-utils-version;</title>
|
---|
[ac789c0] | 21 | <indexterm zone="alsa-utils">
|
---|
| 22 | <primary sortas="a-ALSA-Utilities">ALSA Utilities</primary></indexterm>
|
---|
[48b7295] | 23 |
|
---|
| 24 | <sect2>
|
---|
[da13524] | 25 | <title>Introduction to <application><acronym>ALSA</acronym>
|
---|
| 26 | Utilities</application></title>
|
---|
[48b7295] | 27 |
|
---|
| 28 | <para>The <application><acronym>ALSA</acronym> Utilities</application> package
|
---|
[da13524] | 29 | contains various utilities which are useful for controlling your sound
|
---|
| 30 | card.</para>
|
---|
[48b7295] | 31 |
|
---|
| 32 | <sect3><title>Package information</title>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
[da13524] | 34 | <listitem><para>Download (HTTP):
|
---|
| 35 | <ulink url="&alsa-utils-download-http;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download (FTP):
|
---|
| 37 | <ulink url="&alsa-utils-download-ftp;"/></para></listitem>
|
---|
| 38 | <listitem><para>Download MD5 sum: &alsa-utils-md5sum;</para></listitem>
|
---|
[48b7295] | 39 | <listitem><para>Download size: &alsa-utils-size;</para></listitem>
|
---|
[da13524] | 40 | <listitem><para>Estimated disk space required:
|
---|
| 41 | &alsa-utils-buildsize;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated build time:
|
---|
| 43 | &alsa-utils-time;</para></listitem></itemizedlist>
|
---|
[48b7295] | 44 | </sect3>
|
---|
| 45 |
|
---|
[da13524] | 46 | <sect3><title><application><acronym>ALSA</acronym> Utilities</application>
|
---|
| 47 | dependencies</title>
|
---|
[48b7295] | 48 | <sect4><title>Required</title>
|
---|
[da13524] | 49 | <para><xref linkend="alsa-lib"/></para>
|
---|
| 50 | </sect4>
|
---|
[48b7295] | 51 | </sect3>
|
---|
| 52 |
|
---|
| 53 | </sect2>
|
---|
| 54 |
|
---|
| 55 | <sect2>
|
---|
[da13524] | 56 | <title>Installation of <application><acronym>ALSA</acronym>
|
---|
| 57 | Utilities</application></title>
|
---|
[48b7295] | 58 |
|
---|
[da13524] | 59 | <para>Install <application><acronym>ALSA</acronym> Utilities</application> by
|
---|
| 60 | running the following commands:</para>
|
---|
[43ef043b] | 61 |
|
---|
| 62 | <screen><userinput><command>./configure &&
|
---|
[ac789c0] | 63 | make</command></userinput></screen>
|
---|
| 64 |
|
---|
| 65 | <para>Now, as the root user:</para>
|
---|
| 66 |
|
---|
| 67 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[48b7295] | 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2>
|
---|
[da13524] | 72 | <title>Configuring <application><acronym>ALSA</acronym>
|
---|
| 73 | Utilities</application></title>
|
---|
[48b7295] | 74 |
|
---|
[ac789c0] | 75 | <sect3 id="alsa-utils-config"><title>Config files</title>
|
---|
[48b7295] | 76 | <para><filename>/etc/asound.state</filename></para>
|
---|
[ac789c0] | 77 | <indexterm zone="alsa-utils alsa-utils-config">
|
---|
| 78 | <primary sortas="e-etc-asound.state">/etc/asound.state</primary></indexterm>
|
---|
[48b7295] | 79 | </sect3>
|
---|
| 80 |
|
---|
[ac789c0] | 81 | <sect3 id="alsa-utils-init"><title>Configuration Information</title>
|
---|
[48b7295] | 82 | <para>Probably the easiest way to store mixer levels is to set and retrieve
|
---|
[e3ef32f] | 83 | them using a bootscript.</para>
|
---|
[ac789c0] | 84 | <indexterm zone="alsa-utils alsa-utils-init">
|
---|
| 85 | <primary sortas="f-alsa">alsa</primary></indexterm>
|
---|
[48b7295] | 86 |
|
---|
[ac789c0] | 87 | <para>As the root user, install the init script
|
---|
| 88 | <filename>/etc/rc.d/init.d/alsa</filename> included in the
|
---|
| 89 | <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
[48b7295] | 90 |
|
---|
[ac789c0] | 91 | <screen><userinput role='root'><command>make install-alsa</command></userinput></screen>
|
---|
[48b7295] | 92 |
|
---|
| 93 | <para>Note that all channels of your sound card are muted by default. You can
|
---|
| 94 | use the <command>alsamixer</command> program from
|
---|
| 95 | <application><acronym>ALSA</acronym> Utilities</application> (or any other
|
---|
| 96 | <acronym>OSS</acronym> mixer) to change this.</para>
|
---|
| 97 |
|
---|
| 98 | <para>The first time the above script is run, it will complain that
|
---|
| 99 | there is no state in <filename>/etc/asound.state</filename>. You can
|
---|
[ac789c0] | 100 | prevent this by running the following commands as the root user after
|
---|
| 101 | installing <application><acronym>ALSA</acronym> Utilities</application>:</para>
|
---|
[da13524] | 102 |
|
---|
[ac789c0] | 103 | <screen><userinput role='root'><command>touch /etc/asound.state &&
|
---|
[48b7295] | 104 | alsactl store</command></userinput></screen>
|
---|
| 105 |
|
---|
| 106 | <para>A final note is that the lines loading <filename>sfxload</filename>
|
---|
| 107 | are commented out. They are there as an example of other things you may
|
---|
| 108 | wish to do in the startup script. <filename>sfxload</filename> is a
|
---|
| 109 | separate package of interest to SoundBlaster AWE and Live!
|
---|
| 110 | users. It is designed for loading "sound-fonts" (which are used for
|
---|
| 111 | <acronym>MIDI</acronym> output). You may wish to delete these lines and add
|
---|
[ac789c0] | 112 | your own or, if you have the relevant sound card, install
|
---|
| 113 | <filename>sfxload</filename> and uncomment them.</para>
|
---|
[48b7295] | 114 |
|
---|
| 115 | </sect3>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2>
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
[ac789c0] | 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Libraries</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
| 126 |
|
---|
| 127 | <seglistitem>
|
---|
| 128 | <seg>aconnect, alsaconf, alsactl, alsamixer, amidi, amixer, aplay, aplaymidi,
|
---|
| 129 | arecord, arecordmidi, aseqnet, iecset and speaker-test</seg>
|
---|
| 130 | <seg>None</seg>
|
---|
| 131 | <seg>None</seg>
|
---|
| 132 | </seglistitem>
|
---|
| 133 | </segmentedlist>
|
---|
| 134 |
|
---|
| 135 | <variablelist>
|
---|
| 136 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 137 | <?dbfo list-presentation="list"?>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="aconnect">
|
---|
| 140 | <term><command>aconnect</command></term>
|
---|
| 141 | <listitem><para>is a utility for connecting and disconnecting two existing
|
---|
| 142 | ports in the <acronym>ALSA</acronym> sequencer system.</para>
|
---|
| 143 | <indexterm zone="alsa-utils aconnect">
|
---|
| 144 | <primary sortas="b-aconnect">aconnect</primary>
|
---|
| 145 | </indexterm></listitem>
|
---|
| 146 | </varlistentry>
|
---|
| 147 |
|
---|
| 148 | <varlistentry id="alsaconf">
|
---|
| 149 | <term><command>alsaconf</command></term>
|
---|
| 150 | <listitem><para>is a configuration tool which tries to detect the sound cards
|
---|
| 151 | on your system and write a suitable configuration file for
|
---|
| 152 | <acronym>ALSA</acronym>.</para>
|
---|
| 153 | <indexterm zone="alsa-utils alsaconf">
|
---|
| 154 | <primary sortas="b-alsaconf">alsaconf</primary>
|
---|
| 155 | </indexterm></listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="alsactl">
|
---|
| 159 | <term><command>alsactl</command></term>
|
---|
| 160 | <listitem><para>is used to control advanced settings for the
|
---|
| 161 | <acronym>ALSA</acronym> sound card drivers.</para>
|
---|
| 162 | <indexterm zone="alsa-utils alsactl">
|
---|
| 163 | <primary sortas="b-alsactl">alsactl</primary>
|
---|
| 164 | </indexterm></listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="alsamixer">
|
---|
| 168 | <term><command>alsamixer</command></term>
|
---|
| 169 | <listitem><para>is an ncurses-based mixer program for use with the
|
---|
| 170 | <acronym>ALSA</acronym> sound card drivers.</para>
|
---|
| 171 | <indexterm zone="alsa-utils alsamixer">
|
---|
| 172 | <primary sortas="b-alsamixer">alsamixer</primary>
|
---|
| 173 | </indexterm></listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="amidi">
|
---|
| 177 | <term><command>amidi</command></term>
|
---|
| 178 | <listitem><para>is used to read from and write to <acronym>ALSA</acronym>
|
---|
| 179 | RawMIDI ports.</para>
|
---|
| 180 | <indexterm zone="alsa-utils amidi">
|
---|
| 181 | <primary sortas="b-amidi">amidi</primary>
|
---|
| 182 | </indexterm></listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="amixer">
|
---|
| 186 | <term><command>amixer</command></term>
|
---|
| 187 | <listitem><para> allows command-line control of the mixers for the
|
---|
| 188 | <acronym>ALSA</acronym> sound card drivers.</para>
|
---|
| 189 | <indexterm zone="alsa-utils amixer">
|
---|
| 190 | <primary sortas="b-amixer">amixer</primary>
|
---|
| 191 | </indexterm></listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="aplay">
|
---|
| 195 | <term><command>aplay</command></term>
|
---|
| 196 | <listitem><para>is a command-line soundfile player for the
|
---|
| 197 | <acronym>ALSA</acronym> sound card drivers.</para>
|
---|
| 198 | <indexterm zone="alsa-utils aplay">
|
---|
| 199 | <primary sortas="b-aplay">aplay</primary>
|
---|
| 200 | </indexterm></listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
| 203 | <varlistentry id="aplaymidi">
|
---|
| 204 | <term><command>aplaymidi</command></term>
|
---|
| 205 | <listitem><para>is a command-line utility that plays the specified
|
---|
| 206 | <acronym>MIDI</acronym> file(s) to one or more <acronym>ALSA</acronym>
|
---|
| 207 | sequencer ports.</para>
|
---|
| 208 | <indexterm zone="alsa-utils aplaymidi">
|
---|
| 209 | <primary sortas="b-aplaymidi">aplaymidi</primary>
|
---|
| 210 | </indexterm></listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="arecord">
|
---|
| 214 | <term><command>arecord</command></term>
|
---|
| 215 | <listitem><para>is a command-line soundfile recorder for the
|
---|
| 216 | <acronym>ALSA</acronym> sound card drivers.</para>
|
---|
| 217 | <indexterm zone="alsa-utils arecord">
|
---|
| 218 | <primary sortas="b-arecord">arecord</primary>
|
---|
| 219 | </indexterm></listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="arecordmidi">
|
---|
| 223 | <term><command>arecordmidi</command></term>
|
---|
| 224 | <listitem><para>is a command-line utility that records a standard
|
---|
| 225 | <acronym>MIDI</acronym> file from one or more <acronym>ALSA</acronym>
|
---|
| 226 | sequencer ports.</para>
|
---|
| 227 | <indexterm zone="alsa-utils arecordmidi">
|
---|
| 228 | <primary sortas="b-arecordmidi">arecordmidi</primary>
|
---|
| 229 | </indexterm></listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="aseqnet">
|
---|
| 233 | <term><command>aseqnet</command></term>
|
---|
| 234 | <listitem><para>is an <acronym>ALSA</acronym> sequencer client which sends
|
---|
| 235 | and receives event packets over a network.</para>
|
---|
| 236 | <indexterm zone="alsa-utils aseqnet">
|
---|
| 237 | <primary sortas="b-aseqnet">aseqnet</primary>
|
---|
| 238 | </indexterm></listitem>
|
---|
| 239 | </varlistentry>
|
---|
| 240 |
|
---|
| 241 | <varlistentry id="iecset">
|
---|
| 242 | <term><command>iecset</command></term>
|
---|
| 243 | <listitem><para>is a small utility to set or dump the IEC958 (or so-called
|
---|
| 244 | <quote>S/<acronym>PDIF</acronym></quote>) status bits of the specified sound
|
---|
| 245 | card via the <acronym>ALSA</acronym> control <acronym>API</acronym>.</para>
|
---|
| 246 | <indexterm zone="alsa-utils iecset">
|
---|
| 247 | <primary sortas="b-iecset">iecset</primary>
|
---|
| 248 | </indexterm></listitem>
|
---|
| 249 | </varlistentry>
|
---|
| 250 |
|
---|
| 251 | <varlistentry id="speaker-test">
|
---|
| 252 | <term><command>speaker-test</command></term>
|
---|
| 253 | <listitem><para>is a command-line speaker test tone generator for
|
---|
| 254 | <acronym>ALSA</acronym>.</para>
|
---|
| 255 | <indexterm zone="alsa-utils speaker-test">
|
---|
| 256 | <primary sortas="b-speaker-test">speaker-test</primary>
|
---|
| 257 | </indexterm></listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 | </variablelist>
|
---|
[48b7295] | 260 |
|
---|
| 261 | </sect2>
|
---|
| 262 |
|
---|
| 263 | </sect1>
|
---|