Lines 407-458
Link Here
|
407 |
<section> |
407 |
<section> |
408 |
<title>Sound Check!</title> |
408 |
<title>Sound Check!</title> |
409 |
<body> |
409 |
<body> |
410 |
|
|
|
411 |
<p> |
410 |
<p> |
412 |
Finally. Some music. If everything above is perfect, you should now be able to |
411 |
If everything above is perfect, you should now be able to test your sound card |
413 |
listen to some good music. A quick way to test is to use a command line tool |
412 |
and your speakers. We will use the <c>speaker-test</c> command line tool from |
414 |
like <c>media-sound/madplay</c>. You could also use something more well known |
413 |
package <c>media-sound/alsa-utils</c> (this should already be installed as per |
415 |
like <c>mpg123</c>. If you are an ogg fan, you could use <c>ogg123</c> provided |
414 |
our previous recommendation). |
416 |
by <c>media-sound/vorbis-tools</c>. Use any player you are comfortable with. As |
|
|
417 |
always, <c>emerge</c> what you need. |
418 |
</p> |
415 |
</p> |
|
|
416 |
<pre caption="Testing sound card and speakers"> |
417 |
<comment>(If you have a stereo system)</comment> |
418 |
$ <i>speaker-test -t wav -c 2 -D front</i> |
419 |
|
419 |
|
420 |
<pre caption="Getting the software"> |
420 |
<comment>(If you have a 5.1 system)</comment> |
421 |
<comment>(Install the applications you want)</comment> |
421 |
$ <i>speaker-test -t wav -c 6 -D surround51</i> |
422 |
# <i>emerge madplay mpg123</i> |
|
|
423 |
<comment>(To play .ogg files)</comment> |
424 |
# <i>emerge vorbis-tools</i> |
425 |
</pre> |
422 |
</pre> |
426 |
|
|
|
427 |
<p> |
423 |
<p> |
428 |
And then play your favorite sound track... |
424 |
Press <c>CTRL+C</c> to interrupt the test. |
429 |
</p> |
425 |
</p> |
430 |
|
|
|
431 |
<pre caption="Playing Music"> |
432 |
# <i>madplay -v /mnt/shyam/Music/Paul\ Oakenfold\ -\ Dread\ Rock.mp3</i> |
433 |
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al. |
434 |
Title: Dread Rock |
435 |
Artist: Paul Oakenfold |
436 |
Album: Matrix Reloaded |
437 |
Year: 2003 |
438 |
Genre: Soundtrack |
439 |
Soundtrack |
440 |
00:04:19 Layer III, 160 kbps, 44100 Hz, joint stereo (MS), no CRC |
441 |
|
442 |
# <i>ogg123 Paul\ Oakenfold\ -\ Dread\ Rock.ogg</i> |
443 |
Audio Device: Advanced Linux Sound Architecture (ALSA) output |
444 |
|
445 |
Playing: Paul Oakenfold - Dread Rock.ogg |
446 |
Ogg Vorbis stream: 2 channel, 44100 Hz |
447 |
Genre: Soundtrack |
448 |
Transcoded: mp3;160 |
449 |
Title: Dread Rock |
450 |
Artist: Paul Oakenfold |
451 |
Date: 2003 |
452 |
Album: Matrix Reloaded |
453 |
Time: 00:11.31 [04:28.75] of 04:40.06 (200.6 kbps) Output Buffer 96.9% |
454 |
</pre> |
455 |
|
456 |
</body> |
426 |
</body> |
457 |
</section> |
427 |
</section> |
458 |
<section> |
428 |
<section> |