[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "Burn" CD audio to a file



>>>>> "Vineet" == Vineet Kumar <debian-user@virtual.doorstop.net> writes:

Vineet> * Bill Moseley (moseley@hank.org) [021125 06:51]:
>>  Is there any way to emulate a cdrom device?  Granted CDRs are
>> inexpensive, but I was wondering if there was a way to "burn" a cd to
>> a file for testing and they play it like an audio CD.

Vineet> You won't be able to play it like an audio CD.  When your CD-ROM
Vineet> drive does this, it does it at a much lower level; the OS just
Vineet> gives it cd-player-style commands like "play" "stop" "skip",
Vineet> etc, rather than reading the bits of music and feeding them to
Vineet> the soundcard.  The CD-ROM is connected directly to the
Vineet> soundcard and just spews the music over there without processing
Vineet> it at all.  So until you put the music under the laser, you
Vineet> won't be able to test it "like and audio CD."

Some CD players, e.g. alsaplayer and the xmms-cdread plugin, read the
digital audio from the disk, and dump it to the sound card.  This lets
alsaplayer do funky stuff, like playback at double speed for the
Chipmunks version, or playing the CD backwards to check if your band has
been inserting subliminal messages (YVAN EHT NIOJ).  But they might
still use CD-specific ioctl's, which would prevent them from working on
plain files.

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

Attachment: pgp0C1gLcH5jl.pgp
Description: PGP signature


Reply to: