Re: 'colorbook' fs - porting cdparanoia _into_ the kernel!
Mikko Nummelin <[email protected]>
| Newsgroups | gmane.comp.audio.cd-paranoia.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 12 Mar 2004, Dave Lewis wrote: > Won't work -- the data on a CD is NOT in .WAV format (or .AIFF either). Each > 16-bit sample is represented by two groups of 14 bits interleaved with bits > from several previous and succeeding samples. It's called Cross-Interleaved > Reed-Solomon Code. The objective is to correct any single-bit errors, and > reduce the probability of multiple-bit errors by spreading the bits that > represent each sample over a wide area. A scratch or spot, instead of > klobbering several bits from one sample, will instead affect one bit from > each of several samples, which can be corrected. The whole purpose of > CDParanoia is to convert this interleaved stream of data and error-correction > bits into a series of audio samples. I know this, but appropriately patching the kernel, when a CD is mounted as <add a good name for CD format here>, 'ls' may show tracks as if they were 'wav's and 'cp' may launch the paranoia ripping and correction routines. This would mean that (a) users can just mount and copy audio cd's, maybe issue additional parameters to mount for getting names from CDDB. (b) it would become really easy to create graphical CD ripper clients on top of this, just mount the CD, open file descriptors for tracks and there you go! Mikko Nummelin --- >8 ---- List archives: http://www.xiph.org/archives/ Paranoia homepage: http://www.xiph.org/paranoia/ To unsubscribe from this list, send a message to '[email protected]' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.