/[gentoo]/xml/htdocs/doc/en/alsa-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/alsa-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.72 Revision 1.73
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.72 2007/01/31 16:39:26 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.73 2007/02/17 19:03:36 nightmorph Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5 5
6<guide link="/doc/en/alsa-guide.xml"> 6<guide link="/doc/en/alsa-guide.xml">
7<title>Gentoo Linux ALSA Guide</title> 7<title>Gentoo Linux ALSA Guide</title>
8 8
9<author title="Author"> 9<author title="Author">
10 <mail link="fox2mike@gentoo.org">Shyam Mani</mail> 10 <mail link="fox2mike@gentoo.org">Shyam Mani</mail>
11</author> 11</author>
12<author title="Author"> 12<author title="Author">
13 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> 13 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail>
14</author> 14</author>
15<author title="Contributor"> 15<author title="Contributor">
16 <mail link="flameeyes@gentoo.org">Diego Pettenò</mail> 16 <mail link="flameeyes@gentoo.org">Diego Pettenò</mail>
17</author> 17</author>
18 18
19<abstract> 19<abstract>
20This document helps a user setup ALSA on Gentoo Linux. 20This document helps a user setup ALSA on Gentoo Linux.
21</abstract> 21</abstract>
22 22
23<!-- The content of this document is licensed under the CC-BY-SA license --> 23<!-- The content of this document is licensed under the CC-BY-SA license -->
24<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 24<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25<license/> 25<license/>
26 26
27<version>2.16</version> 27<version>2.17</version>
28<date>2007-01-31</date> 28<date>2007-02-17</date>
29 29
30<chapter> 30<chapter>
31<title>Introduction</title> 31<title>Introduction</title>
32<section> 32<section>
33<title>What is ALSA?</title> 33<title>What is ALSA?</title>
34<body> 34<body>
35 35
36<p> 36<p>
37ALSA, which stands for <e>Advanced Linux Sound Architecture</e>, provides 37ALSA, which stands for <e>Advanced Linux Sound Architecture</e>, provides
38audio and MIDI (<e>Musical Instrument Digital Interface</e>) functionality to 38audio and MIDI (<e>Musical Instrument Digital Interface</e>) functionality to
39the Linux operating system. ALSA is the default sound subsystem in the 2.6 39the Linux operating system. ALSA is the default sound subsystem in the 2.6
40kernel thereby replacing OSS (<e>Open Sound System</e>), which was used in the 40kernel thereby replacing OSS (<e>Open Sound System</e>), which was used in the
412.4 kernels. 412.4 kernels.
42</p> 42</p>
43 43
931<p> 931<p>
932If your sound card lacks a hardware synthesizer, you could use a virtual one 932If your sound card lacks a hardware synthesizer, you could use a virtual one
933like <c>timidity++</c>. Installation is a breeze. 933like <c>timidity++</c>. Installation is a breeze.
934</p> 934</p>
935 935
936<pre caption="Installing timidity++"> 936<pre caption="Installing timidity++">
937# <i>emerge timidity++</i> 937# <i>emerge timidity++</i>
938</pre> 938</pre>
939 939
940<p> 940<p>
941For timidity to play sounds, it needs a sound font. Fortunately, the ebuild will 941For timidity to play sounds, it needs a sound font. Fortunately, the ebuild will
942install some sound font packages for you. There are a few other font packages 942install some sound font packages for you. There are a few other font packages
943available in Portage, such as <c>timidity-freepats</c> and 943available in Portage, such as <c>timidity-freepats</c> and
944<c>timidity-eawpatches</c>. You can have multiple sound font configurations 944<c>timidity-eawpatches</c>. You can have multiple sound font configurations
945installed, and you can place your own in <path>/usr/share/timidity/</path>. To 945installed, and you can place your own in <path>/usr/share/timidity/</path>. To
946switch between different timidity configurations, you should use the 946switch between different timidity configurations, you should use
947<c>timidity-update</c> tool provided in the timidity++ package. In later 947<c>eselect</c>.
948versions of timidity, <c>eselect</c> is used to switch configurations.
949</p> 948</p>
950 949
951<pre caption="Changing configurations"> 950<pre caption="Changing configurations">
952<comment>(replace eawpatches with the name of your sound font package)</comment>
953# <i>timidity-update -g -s eawpatches</i>
954
955<comment>(Use eselect if you have installed >=timidity-2.13.2-r3)</comment>
956# <i>eselect timidity list</i> 951# <i>eselect timidity list</i>
957# <i>eselect timidity set eawpatches</i> 952# <i>eselect timidity set eawpatches</i>
958</pre> 953</pre>
959 954
960<p> 955<p>
961Don't forget to add <c>timidity</c> to the default runlevel. 956Don't forget to add <c>timidity</c> to the default runlevel.
962</p> 957</p>
963 958
964<pre caption="Adding timidity to the default runlevel"> 959<pre caption="Adding timidity to the default runlevel">
965# <i>rc-update add timidity default</i> 960# <i>rc-update add timidity default</i>
966# <i>/etc/init.d/timidity start</i> 961# <i>/etc/init.d/timidity start</i>
967</pre> 962</pre>
968 963
969<p> 964<p>
970You can now try out <uri link="#doc_chap4_pre3">Playing MIDI</uri> files. 965You can now try out <uri link="#doc_chap4_pre3">Playing MIDI</uri> files.

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

  ViewVC Help
Powered by ViewVC 1.1.20