![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
informacion adicional cdrwLinux Notes: CD Ripping, Recording, and Audio MasteringLast modified: 03/19/2003 Contents
Ripping"Ripping" means transfering an audio track from an audio CD to the hard drive. This is challenging because the OS cannot receive the audio data in real time, and repositioning the laser accurately is difficult. The CD format was designed for real time streaming access, not random access. To rip audio tracks, use cdparanoia
Reading the cdparanoia animated output: spaces and happy faces are good, a dash is acceptable. To rip an entire ISO filesystem from a CD-ROM: dd if=/dev/cdrom of=my_cdrom.iso WarningWhen burning a multi-session audio or data CD, disable auto-mounting. If enabled, the OS will try to both read and write to the CD at the same time, and will cause either a miswrite or will deadlock the kernel. See: Nautilus > Peripherals > CD Properties > (Audio CD > Auto-play) and (Data CD > Auto-mount). General Hints
Media Write SpeedsMedia speeds for my CD writer, Plextor 16/10/40A:
Burning a Data CD
Use:
A script fragment to help manage ISO contents (where "cd" is the directory with the contents):
Downloading and Burning ISO images from RedHatRedHat distributes OS as ISO images that can be directly written to CD-R.
Burning an Audio CD
cdrecord -v speed=12 dev=0,0,0 driveropts=burnproof \
-audio -pad -eject \
[files...]
Additional cdrecord options:
On-The-Fly CopyingOn-the-fly copying means that the two CD drives are operating at the same time: the first one reads the source, and the second one writes onto the blank.
Copy an audio CD with this command. It operates in two phases: first copying the audio to a disk file, and then writing to the CD blank.
cdrdao copy --device 0,0,0 --source-device 0,1,0 \
--source-driver generic-mmc \
--eject --reload -v 1 -n \
--datafile /media/tmp/cdrdao.bin
Burning a Mixed-mode CDA mixed-mode CD has both data and audio. It is a single session CD. The data is visible as a file system to a computer, and the audio is visible to CD players. The drawback to mixed mode is that the data track is visible to CD players, and some will even try to play it, and of course it does not sound good. To create a mixed-mode CD, create an ISO image as for Burning a Data CD, and collect the audio tracks. Run cdrecord with the like this:
cdrecord "$@" speed=$SPEED dev=0,0,0 driveropts=burnproof -eject \
-data \
mixed_mode.iso \
-pad -audio \
song1.wav \
song2.wav \
(etc.)
Burning an Enhanced CD (A.K.A CD-Plus, or CD-ROM XA mode 2)Similar to a mixed-mode CD, an enhanced CD also has both data and audio, and is a multi-session CD. The audio is written in the first session, and the data is written in the second session. Most CD players can only see tracks in the first session, effectively hiding the data track. The drawback to enhanced format is that some CD players cannot read multi-session CDs at all. See this entry in the CD-Writing HOW-TO on creating multi-session CDs (http://www.tldp.org/HOWTO/CD-Writing-HOWTO-4.html#ss4.18). To create an enhanced CD, arrange the data for an ISO image as for Burning a Data CD, and collect the audio tracks.
cdrecord "$@" speed=$SPEED dev=0,0,0 driveropts=burnproof \
-multi -audio -pad \
song1.wav \
song2.wav
NEXT_TRACK=`cdrecord -msinfo`
mkisofs -o cd_plus.iso -R -J -C $NEXT_TRACK -r cd
isoinfo -i cd_plus.iso -f -R -J -N ${NEXT_TRACK/*,}
cdrecord "$@" speed=$SPEED dev=0,0,0 driveropts=burnproof -eject \
-data -pad \
cd_plus.iso
Here is a script to help manage ISO contents (where "cd" is the directory with the contents):
Recording Live Audio
for F in `*.st.wav`; do
G=${F%.st.wav};
echo $G;
sox $F -c 1 $G.wav;
done
Converting to MP3Use lame to convert to mp3 format with: lame -q 0 -V 0 --vbr-new -m m -c -p --strictly-enforce-ISO \ --tt 'track title' --tn <track-number> \ --ta 'author' \ --tl 'album title' \ --ty <year-of-issue> --tc <comment> \ file.wav file.mp3 Where:
Copyright © 2002 Craig Lawson (Fuente: http://216.239.33.100/search?q=cache:K6QR8ntXHVEJ:pages.sbcglobal.net/craig.lawson/linux_notes/cds.html&hl=en&ie=UTF-8) (Conversion a SWiki por Dario) Link to this Page
|