/[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.46 Revision 1.47
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.46 2004/12/08 11:12:50 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.47 2004/12/09 17:16:40 cam Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/alsa-guide.xml"> 5<guide link="/doc/en/alsa-guide.xml">
6<title>Gentoo Linux ALSA Guide</title> 6<title>Gentoo Linux ALSA Guide</title>
7<author title="Author"> 7<author title="Author">
8 <mail link="zu@pandora.be">Vincent Verleye</mail> 8 <mail link="zu@pandora.be">Vincent Verleye</mail>
9</author> 9</author>
10<author title="Author"> 10<author title="Author">
11 <mail link="g2boojum@gentoo.org">Grant Goodyear</mail> 11 <mail link="g2boojum@gentoo.org">Grant Goodyear</mail>
12</author> 12</author>
13<author title="Author"> 13<author title="Author">
14 <mail link="agenkin@gentoo.org">Arcady Genkin</mail> 14 <mail link="agenkin@gentoo.org">Arcady Genkin</mail>
15</author> 15</author>
16<author title="Author"> 16<author title="Author">
17 <mail link="eradicator@gentoo.org">Jeremy Huddleston</mail> 17 <mail link="eradicator@gentoo.org">Jeremy Huddleston</mail>
28<author title="Editor"> 28<author title="Editor">
29 <mail link="blubber@gentoo.org">Tiemo Kieft</mail> 29 <mail link="blubber@gentoo.org">Tiemo Kieft</mail>
30</author> 30</author>
31<author title="Editor"> 31<author title="Editor">
32 <mail link="erwin@gentoo.org">Erwin</mail> 32 <mail link="erwin@gentoo.org">Erwin</mail>
33</author> 33</author>
34 34
35<abstract> 35<abstract>
36This guide will show you how to set up the Advanced Linux Sound Architecture 36This guide will show you how to set up the Advanced Linux Sound Architecture
37(ALSA) on Gentoo Linux. In addition to the Gentoo Linux Desktop Configuration 37(ALSA) on Gentoo Linux. In addition to the Gentoo Linux Desktop Configuration
38Guide, this guide is supposed to give you more information on this subject. 38Guide, this guide is supposed to give you more information on this subject.
39</abstract> 39</abstract>
40 40
41<license/> 41<license/>
42 42
43<version>1.5.8</version> 43<version>1.5.9</version>
44<date>2004-12-08</date> 44<date>2004-12-09</date>
45 45
46<chapter> 46<chapter>
47<title>The Advanced Linux Sound Architecture</title> 47<title>The Advanced Linux Sound Architecture</title>
48<section> 48<section>
49<title>What is ALSA?</title> 49<title>What is ALSA?</title>
50<body> 50<body>
51 51
52<p> 52<p>
53ALSA is the <e>Advanced Linux Sound Architecture</e>, a project dedicated to the 53ALSA is the <e>Advanced Linux Sound Architecture</e>, a project dedicated to the
54development of a high-quality Linux sound subsystem. It has replaced OSS 54development of a high-quality Linux sound subsystem. It has replaced OSS
55(<e>Open Sound System</e>) as default sound subsystem in the 2.6 kernel series. 55(<e>Open Sound System</e>) as default sound subsystem in the 2.6 kernel series.
56</p> 56</p>
57 57
58<p> 58<p>
59ALSA provides efficient support for all types of audio interfaces, is fully 59ALSA provides efficient support for all types of audio interfaces, is fully
272# <i>amixer</i> 272# <i>amixer</i>
273</pre> 273</pre>
274 274
275<p> 275<p>
276If <c>amixer</c> produces lots of output then you're ready to unmute the 276If <c>amixer</c> produces lots of output then you're ready to unmute the
277channels. If you receive an error, doublecheck that your soundcard module is 277channels. If you receive an error, doublecheck that your soundcard module is
278started. 278started.
279</p> 279</p>
280 280
281<p> 281<p>
282Now unmute the <e>Master</e> and <e>PCM</e> channels. If this isn't sufficient, 282Now unmute the <e>Master</e> and <e>PCM</e> channels. If this isn't sufficient,
283also unmute the <e>Center</e> and <e>Surround</e> channels. 283also unmute the <e>Center</e> and <e>Surround</e> channels.
284</p> 284</p>
285 285
286<pre caption="Unmuting the sound channels"> 286<pre caption="Unmuting the sound channels">
287<comment>If you prefer an ncurses method:</comment> 287<comment>(If you prefer an ncurses method:)</comment>
288
288# <i>alsamixer</i> 289# <i>alsamixer</i>
289 290
290or 291<comment>(or)</comment>
291 292
292# <i>amixer set Master 100 unmute</i> 293# <i>amixer set Master 100 unmute</i>
293# <i>amixer set PCM 100 unmute</i> 294# <i>amixer set PCM 100 unmute</i>
294<comment>(Only if the above isn't sufficient:)</comment> 295<comment>(Only if the above isn't sufficient:)</comment>
295# <i>amixer set Center 100 unmute</i> 296# <i>amixer set Center 100 unmute</i>
296# <i>amixer set Surround 100 unmute</i> 297# <i>amixer set Surround 100 unmute</i>
297# <i>amixer set Headphone 100 unmute</i> 298# <i>amixer set Headphone 100 unmute</i>
298</pre> 299</pre>
299 300
300 301
301<p> 302<p>
302To check if your sound works, play a wave file (using <c>aplay</c>), mp3 (using 303To check if your sound works, play a wave file (using <c>aplay</c>), mp3 (using
303<c>mpg123</c> or even <c>mplayer</c>) or any other sound file for that matter. 304<c>mpg123</c> or even <c>mplayer</c>) or any other sound file for that matter.
304</p> 305</p>
305 306
360<pre caption="Installing Timidity++"> 361<pre caption="Installing Timidity++">
361# <i>emerge timidity++</i> 362# <i>emerge timidity++</i>
362</pre> 363</pre>
363 364
364<p> 365<p>
365For timidity to play sounds, it needs a soundfont. If you do not have any, 366For timidity to play sounds, it needs a soundfont. If you do not have any,
366install <c>timidity-eawpatches</c> or <c>timidity-shompatches</c> which will 367install <c>timidity-eawpatches</c> or <c>timidity-shompatches</c> which will
367give you some soundfonts. You can have multiple soundfont configurations 368give you some soundfonts. You can have multiple soundfont configurations
368installed, and you can place your own in <path>/usr/share/timidity/</path>. 369installed, and you can place your own in <path>/usr/share/timidity/</path>.
369To switch between different timidity configurations, you should use the 370To switch between different timidity configurations, you should use the
370<e>timidity-update</e> tool provided in the timidity++ package. 371<e>timidity-update</e> tool provided in the timidity++ package.
371</p> 372</p>
372 373
373<pre caption="Installing soundfonts"> 374<pre caption="Installing soundfonts">
374# <i>emerge timidity-eawpatches</i> 375# <i>emerge timidity-eawpatches</i>
375# timidity-update -g -s eawpatches 376# <i>timidity-update -g -s eawpatches</i>
376 377
377<comment> or </comment> 378<comment>(or)</comment>
378 379
379# <i>emerge timidity-shompatches</i> 380# <i>emerge timidity-shompatches</i>
380# timidity-update -g -s shompatches 381# <i>timidity-update -g -s shompatches</i>
381</pre> 382</pre>
382 383
383<p> 384<p>
384Don't forget to add <c>timidity</c> to the default runlevel. 385Don't forget to add <c>timidity</c> to the default runlevel.
385</p> 386</p>
386 387
387<pre caption="Adding timidity to the default runlevel"> 388<pre caption="Adding timidity to the default runlevel">
388# <i>rc-update add timidity default</i> 389# <i>rc-update add timidity default</i>
389# <i>/etc/init.d/timidity start</i> 390# <i>/etc/init.d/timidity start</i>
390</pre> 391</pre>
391 392
392</body> 393</body>
393</section> 394</section>
394<section> 395<section>
395<title>Testing MIDI Support</title> 396<title>Testing MIDI Support</title>

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.20