/[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.52 Revision 1.53
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.52 2005/06/07 06:25:11 fox2mike Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.53 2005/06/08 19:54:07 fox2mike 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 12
13<abstract> 13<abstract>
14This document helps a user setup ALSA on Gentoo Linux. 14This document helps a user setup ALSA on Gentoo Linux.
15</abstract> 15</abstract>
16 16
17<!-- The content of this document is licensed under the CC-BY-SA license --> 17<!-- The content of this document is licensed under the CC-BY-SA license -->
18<!-- See http://creativecommons.org/licenses/by-sa/2.0 --> 18<!-- See http://creativecommons.org/licenses/by-sa/2.0 -->
19<license/> 19<license/>
20 20
21<version>2.1</version> 21<version>2.2</version>
22<date>2005-06-07</date> 22<date>2005-06-09</date>
23 23
24<chapter> 24<chapter>
25<title>Introduction</title> 25<title>Introduction</title>
26<section> 26<section>
27<title>What is ALSA?</title> 27<title>What is ALSA?</title>
28<body> 28<body>
29 29
30<p> 30<p>
31ALSA, which stands for <e>Advanced Linux Sound Architecture</e>, provides 31ALSA, which stands for <e>Advanced Linux Sound Architecture</e>, provides
32audio and MIDI (<e>Musical Instrument Digital Interface</e>) functionality to 32audio and MIDI (<e>Musical Instrument Digital Interface</e>) functionality to
33the Linux operating system. ALSA is the default sound subsystem in the 2.6 33the Linux operating system. ALSA is the default sound subsystem in the 2.6
34kernel thereby replacing OSS (<e>Open Sound System</e>), which was used in the 34kernel thereby replacing OSS (<e>Open Sound System</e>), which was used in the
352.4 kernels. 352.4 kernels.
36</p> 36</p>
37 37
71in your kernel and use <c>media-sound/alsa-driver</c>. It <e>will</e> fail. 71in your kernel and use <c>media-sound/alsa-driver</c>. It <e>will</e> fail.
72</warn> 72</warn>
73 73
74<impo> 74<impo>
75<c>genkernel</c> users have their config built such a way that the ALSA 75<c>genkernel</c> users have their config built such a way that the ALSA
76sub-system in the kernel is active. Therefore <c>genkernel</c> users can 76sub-system in the kernel is active. Therefore <c>genkernel</c> users can
77proceed to the <uri link="#alsa-utilities">ALSA Utilities</uri> section 77proceed to the <uri link="#alsa-utilities">ALSA Utilities</uri> section
78directly. 78directly.
79</impo> 79</impo>
80 80
81<p> 81<p>
82The two options are : 82The two options are :
83</p> 83</p>
84 84
85<ol> 85<ol>
86 <li> 86 <li>
87 Use ALSA provided by your kernel. This is the preferred/recommended 87 Use ALSA provided by your kernel. This is the preferred/recommended
88 method. 88 method.
89 </li> 89 </li>
90 <li> 90 <li>
91 Use Gentoo's <c>media-sound/alsa-driver</c> package. 91 Use Gentoo's <c>media-sound/alsa-driver</c> package.
92 </li> 92 </li>
93</ol> 93</ol>
94 94
95<p> 95<p>
96We shall take a peek into both before finally deciding on one. 96We shall take a peek into both before finally deciding on one.
97</p> 97</p>
98 98
99<p> 99<p>
100If you were to use ALSA provided by the kernel, the following are the pros and 100If you were to use ALSA provided by the kernel, the following are the pros and
101cons : 101cons :
102</p> 102</p>
103 103
104<table> 104<table>
105<tr> 105<tr>
106 <th>Kernel ALSA</th> 106 <th>Kernel ALSA</th>
107 <th>Pros and Cons</th> 107 <th>Pros and Cons</th>
714<p> 714<p>
715If your sound card lacks a hardware synthesizer, you could use a virtual one 715If your sound card lacks a hardware synthesizer, you could use a virtual one
716like <c>timidity++</c>. Installation is a breeze. 716like <c>timidity++</c>. Installation is a breeze.
717</p> 717</p>
718 718
719<pre caption="Installing timidity++"> 719<pre caption="Installing timidity++">
720# <i>emerge timidity++</i> 720# <i>emerge timidity++</i>
721</pre> 721</pre>
722 722
723<p> 723<p>
724For timidity to play sounds, it needs a sound font. If you do not have any, 724For timidity to play sounds, it needs a sound font. If you do not have any,
725install <c>timidity-eawpatches</c> or <c>timidity-shompatches</c> which will 725install <c>timidity-eawpatches</c> or <c>timidity-shompatches</c> which will
726give you some sound fonts. You can have multiple sound font configurations 726give you some sound fonts. You can have multiple sound font configurations
727installed, and you can place your own in <path>/usr/share/timidity/</path>. 727installed, and you can place your own in <path>/usr/share/timidity/</path>.
728To switch between different timidity configurations, you should use the 728To switch between different timidity configurations, you should use the
729<e>timidity-update</e> tool provided in the timidity++ package. 729<c>timidity-update</c> tool provided in the timidity++ package.
730</p> 730</p>
731 731
732<pre caption="Installing sound fonts"> 732<pre caption="Installing sound fonts">
733# <i>emerge timidity-eawpatches</i> 733# <i>emerge timidity-eawpatches</i>
734# <i>timidity-update -g -s eawpatches</i> 734# <i>timidity-update -g -s eawpatches</i>
735 735
736<comment>(or)</comment> 736<comment>(or)</comment>
737 737
738# <i>emerge timidity-shompatches</i> 738# <i>emerge timidity-shompatches</i>
739# <i>timidity-update -g -s shompatches</i> 739# <i>timidity-update -g -s shompatches</i>
740</pre> 740</pre>
741 741
742<p> 742<p>
743Don't forget to add <c>timidity</c> to the default runlevel. 743Don't forget to add <c>timidity</c> to the default runlevel.
744</p> 744</p>

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

  ViewVC Help
Powered by ViewVC 1.1.20