diff --git a/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml b/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml index 36b5d05984..655bf25f3c 100644 --- a/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml @@ -57,10 +57,10 @@ sound cards Before you begin, you should know the model of the card you have, the chip it uses, and whether it is a PCI or ISA card. - FreeBSD supports a wide variety of both PCI and ISA cards. If you - do not see your card in the following list, check the &man.pcm.4; - manual page. This is not a complete list; however, it does list - some of the most common cards. + FreeBSD supports a wide variety of both PCI and ISA cards. If + you do not see your card in the following list, check the + &man.pcm.4; manual page. This is not a complete list; however, + it does list some of the most common cards. @@ -166,8 +166,8 @@ device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 device pcm device gusc - to your kernel configuration file. If you have a non-PnP ISA card, you will - need to add: + to your kernel configuration file. If you have a non-PnP + ISA card, you will need to add: device pcm device gus0 at isa? port 0x220 irq 5 drq 1 flags 0x13 @@ -195,9 +195,9 @@ device csa device pcm - to your kernel configuration file. If you have a non-PnP ISA - sound card that does not have a bridge driver, you will need - to add: + to your kernel configuration file. If you have a non-PnP + ISA sound card that does not have a bridge driver, you will + need to add: device pcm0 at isa? irq 10 drq 1 flags 0x0 @@ -221,20 +221,22 @@ device csa Creating and Testing the Device Nodes device nodes - After you reboot, log in and run dmesg | grep pcm as shown - below: + After you reboot, log in and run dmesg | grep + pcm as shown below: &prompt.root; dmesg | grep pcm pcm0: <SB16 DSP 4.11> on sbc0 The output from your system may look different. If no - pcm devices show up, something went wrong - earlier. If that happens, go through your kernel configuration - file again and make sure you chose the correct device. Consult - the troubleshooting section for additional options. + pcm devices show up, something went + wrong earlier. If that happens, go through your kernel + configuration file again and make sure you chose the correct + device. Consult the troubleshooting section for additional + options. - If the previous command returned pcm0, - you will have to run the following as root: + If the previous command returned + pcm0, you will have to run the + following as root: &prompt.root; cd /dev &prompt.root; sh MAKEDEV snd0 @@ -327,7 +329,7 @@ pcm0: <SB16 DSP 4.11> on sbc0 unsupported subdevice XX One or more of the device nodes was not created - correctly. Repeat the steps above. + correctly. Repeat the steps above. I/O port @@ -388,15 +390,17 @@ pcm0: <SB16 DSP 4.11> on sbc0 XMMS can be installed from the audio/xmms port or package. - XMMS' interface is intuitive, with - a playlist, graphic equalizer, and more. Those familiar with WinAmp - will find XMMS simple to use. + XMMS' interface is intuitive, + with a playlist, graphic equalizer, and more. Those familiar + with WinAmp will find + XMMS simple to use. The audio/mpg123 port is an alternative, command-line MP3 player. - mpg123 can be run by specifying the - sound device and the MP3 file on the command line, as shown below: + mpg123 can be run by specifying + the sound device and the MP3 file on the command line, as + shown below: &prompt.root; mpg123 -a /dev/dsp1.0 Foobar-GreatestHits.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. @@ -425,28 +429,30 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo copying the raw CDDA (CD Digital Audio) data to WAV files. - The cdda2wav tool, which is a part of the - sysutils/cdrtools suite, is used for ripping audio - information of CDs and the information associated with it. + The cdda2wav tool, which is a part of + the sysutils/cdrtools suite, is used for ripping + audio information of CDs and the information associated with + it. - With the audio CD in the drive, the following command - can be issued (as root) to rip an entire - CD into individual (per track) WAV files: + With the audio CD in the drive, the following command can + be issued (as root) to rip an entire CD + into individual (per track) WAV files: &prompt.root; cdda2wav -D 0,1,0 -B The - indicates the SCSI device 0,1,0, which - corresponds to the output of cdrecord - -scanbus. + indicates the SCSI device 0,1,0, + which corresponds to the output of cdrecord + -scanbus. To rip individual tracks, make use of the option as shown: &prompt.root; cdda2wav -D 0,1,0 -t 7 - This example rips track seven of the audio CDROM. To rip a range - of tracks, for example, track one to seven, specify a range: + This example rips track seven of the audio CDROM. To rip + a range of tracks, for example, track one to seven, specify a + range: &prompt.root; cdda2wav -D 0,1,0 -t 1+7 @@ -480,21 +486,23 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo 128 kbits seems to be the standard MP3 bitrate in use. Many enjoy the higher quality 160, or 192. The higher the - bitrate, the more disk space the resulting MP3 will consume--but - the quality will be higher. The option - turns on the higher quality but a little slower - mode. The options beginning with indicate - ID3 tags, which usually contain song information, to be embedded - within the MP3 file. Additional encoding options can be found - by consulting the lame man page. + bitrate, the more disk space the resulting MP3 will + consume--but the quality will be higher. The + option turns on the higher quality + but a little slower mode. The options beginning with + indicate ID3 tags, which usually contain + song information, to be embedded within the MP3 file. + Additional encoding options can be found by consulting the + lame man page. Decoding MP3s - In order to burn an audio CD from MP3s, they must be converted - to a non-compressed WAV format. Both XMMS - and mpg123 support the output of MP3 to + In order to burn an audio CD from MP3s, they must be + converted to a non-compressed WAV format. Both + XMMS and + mpg123 support the output of MP3 to an uncompressed file format. Writing to Disk in XMMS: @@ -535,14 +543,15 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo - Press PlayXMMS - will appear as if it is playing the MP3, but no music will be heard. It - is actually playing the MP3 to a file. + Press Play — + XMMS will appear as if it is + playing the MP3, but no music will be heard. It is + actually playing the MP3 to a file. - Be sure to set the default Output Plugin back to what it was before - in order to listen to MP3s again. + Be sure to set the default Output Plugin back to what + it was before in order to listen to MP3s again. @@ -555,10 +564,12 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo - XMMS writes a file in the WAV format, while - mpg123 converts the MP3 into raw PCM audio data. - Both of these formats can be used with cdrecord - or burncd to create audio CDROMs. + XMMS writes a file in the WAV + format, while mpg123 converts the + MP3 into raw PCM audio data. Both of these formats can be + used with cdrecord or + burncd to create audio + CDROMs. Read for more information on using a CD burner in FreeBSD. diff --git a/en_US.ISO8859-1/books/handbook/sound/chapter.sgml b/en_US.ISO8859-1/books/handbook/sound/chapter.sgml index 36b5d05984..655bf25f3c 100644 --- a/en_US.ISO8859-1/books/handbook/sound/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/sound/chapter.sgml @@ -57,10 +57,10 @@ sound cards Before you begin, you should know the model of the card you have, the chip it uses, and whether it is a PCI or ISA card. - FreeBSD supports a wide variety of both PCI and ISA cards. If you - do not see your card in the following list, check the &man.pcm.4; - manual page. This is not a complete list; however, it does list - some of the most common cards. + FreeBSD supports a wide variety of both PCI and ISA cards. If + you do not see your card in the following list, check the + &man.pcm.4; manual page. This is not a complete list; however, + it does list some of the most common cards. @@ -166,8 +166,8 @@ device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 device pcm device gusc - to your kernel configuration file. If you have a non-PnP ISA card, you will - need to add: + to your kernel configuration file. If you have a non-PnP + ISA card, you will need to add: device pcm device gus0 at isa? port 0x220 irq 5 drq 1 flags 0x13 @@ -195,9 +195,9 @@ device csa device pcm - to your kernel configuration file. If you have a non-PnP ISA - sound card that does not have a bridge driver, you will need - to add: + to your kernel configuration file. If you have a non-PnP + ISA sound card that does not have a bridge driver, you will + need to add: device pcm0 at isa? irq 10 drq 1 flags 0x0 @@ -221,20 +221,22 @@ device csa Creating and Testing the Device Nodes device nodes - After you reboot, log in and run dmesg | grep pcm as shown - below: + After you reboot, log in and run dmesg | grep + pcm as shown below: &prompt.root; dmesg | grep pcm pcm0: <SB16 DSP 4.11> on sbc0 The output from your system may look different. If no - pcm devices show up, something went wrong - earlier. If that happens, go through your kernel configuration - file again and make sure you chose the correct device. Consult - the troubleshooting section for additional options. + pcm devices show up, something went + wrong earlier. If that happens, go through your kernel + configuration file again and make sure you chose the correct + device. Consult the troubleshooting section for additional + options. - If the previous command returned pcm0, - you will have to run the following as root: + If the previous command returned + pcm0, you will have to run the + following as root: &prompt.root; cd /dev &prompt.root; sh MAKEDEV snd0 @@ -327,7 +329,7 @@ pcm0: <SB16 DSP 4.11> on sbc0 unsupported subdevice XX One or more of the device nodes was not created - correctly. Repeat the steps above. + correctly. Repeat the steps above. I/O port @@ -388,15 +390,17 @@ pcm0: <SB16 DSP 4.11> on sbc0 XMMS can be installed from the audio/xmms port or package. - XMMS' interface is intuitive, with - a playlist, graphic equalizer, and more. Those familiar with WinAmp - will find XMMS simple to use. + XMMS' interface is intuitive, + with a playlist, graphic equalizer, and more. Those familiar + with WinAmp will find + XMMS simple to use. The audio/mpg123 port is an alternative, command-line MP3 player. - mpg123 can be run by specifying the - sound device and the MP3 file on the command line, as shown below: + mpg123 can be run by specifying + the sound device and the MP3 file on the command line, as + shown below: &prompt.root; mpg123 -a /dev/dsp1.0 Foobar-GreatestHits.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. @@ -425,28 +429,30 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo copying the raw CDDA (CD Digital Audio) data to WAV files. - The cdda2wav tool, which is a part of the - sysutils/cdrtools suite, is used for ripping audio - information of CDs and the information associated with it. + The cdda2wav tool, which is a part of + the sysutils/cdrtools suite, is used for ripping + audio information of CDs and the information associated with + it. - With the audio CD in the drive, the following command - can be issued (as root) to rip an entire - CD into individual (per track) WAV files: + With the audio CD in the drive, the following command can + be issued (as root) to rip an entire CD + into individual (per track) WAV files: &prompt.root; cdda2wav -D 0,1,0 -B The - indicates the SCSI device 0,1,0, which - corresponds to the output of cdrecord - -scanbus. + indicates the SCSI device 0,1,0, + which corresponds to the output of cdrecord + -scanbus. To rip individual tracks, make use of the option as shown: &prompt.root; cdda2wav -D 0,1,0 -t 7 - This example rips track seven of the audio CDROM. To rip a range - of tracks, for example, track one to seven, specify a range: + This example rips track seven of the audio CDROM. To rip + a range of tracks, for example, track one to seven, specify a + range: &prompt.root; cdda2wav -D 0,1,0 -t 1+7 @@ -480,21 +486,23 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo 128 kbits seems to be the standard MP3 bitrate in use. Many enjoy the higher quality 160, or 192. The higher the - bitrate, the more disk space the resulting MP3 will consume--but - the quality will be higher. The option - turns on the higher quality but a little slower - mode. The options beginning with indicate - ID3 tags, which usually contain song information, to be embedded - within the MP3 file. Additional encoding options can be found - by consulting the lame man page. + bitrate, the more disk space the resulting MP3 will + consume--but the quality will be higher. The + option turns on the higher quality + but a little slower mode. The options beginning with + indicate ID3 tags, which usually contain + song information, to be embedded within the MP3 file. + Additional encoding options can be found by consulting the + lame man page. Decoding MP3s - In order to burn an audio CD from MP3s, they must be converted - to a non-compressed WAV format. Both XMMS - and mpg123 support the output of MP3 to + In order to burn an audio CD from MP3s, they must be + converted to a non-compressed WAV format. Both + XMMS and + mpg123 support the output of MP3 to an uncompressed file format. Writing to Disk in XMMS: @@ -535,14 +543,15 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo - Press PlayXMMS - will appear as if it is playing the MP3, but no music will be heard. It - is actually playing the MP3 to a file. + Press Play — + XMMS will appear as if it is + playing the MP3, but no music will be heard. It is + actually playing the MP3 to a file. - Be sure to set the default Output Plugin back to what it was before - in order to listen to MP3s again. + Be sure to set the default Output Plugin back to what + it was before in order to listen to MP3s again. @@ -555,10 +564,12 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo - XMMS writes a file in the WAV format, while - mpg123 converts the MP3 into raw PCM audio data. - Both of these formats can be used with cdrecord - or burncd to create audio CDROMs. + XMMS writes a file in the WAV + format, while mpg123 converts the + MP3 into raw PCM audio data. Both of these formats can be + used with cdrecord or + burncd to create audio + CDROMs. Read for more information on using a CD burner in FreeBSD.