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

Re: creating audio-cd image from mp3/wav

On Fri, Jul 30, 2004 at 07:09:45PM -0500, Nate Bargmann wrote:
> * Micha Feigin <michf@post.tau.ac.il> [2004 Jul 30 18:42 -0500]:
> > I never intend for the files to go to the cdrom, otherwise the solution
> > would be easy. I want to create an image I can mount in vmware so that
> > windows will think its a regular audio cd so that I can download it to
> > my mini disk using Sony simple burner, thus bypassing Sony jukebox which
> > does havoc and I really don't like anyway since it lets you download
> > each file only three times to mini disk, and you can't delete it from
> > the mini disk directly, you have to do it through the sony jukebox
> > (even if the file is yours, or you own the cd).
> > 
> > Now if only the libnetmd people finally figure out how to record to a
> > netmd mini disk directly from Linux, or Sony stopped being so paranoid
> > and windows centric, life would be a lot easier ;-)
> Have you tried mkisofs?  I haven't played with it myself, but I think
> that is what X-CD-Roast uses to create an image in the Master mode.

Read through the whole man page and some other stuff also. Audio cds
don't have a file system, so they are not iso9660 cds. They basically
only have the raw data stream in 16-bit stereo samples in PCM coding at
44100 samples/second with no header. I don't know the endianess
though. They also need to have an integral number of blocks in length.

I guess the solution will have to be to use sox to create the raw files
and then write my own program to create the image or hack into cdrecord
to enable it to dump its data to file skipping the drive commands.

> >From the man page:
> MKISOFS(8)                                                          MKISOFS(8)
>        mkisofs  - create an hybrid ISO9660/JOLIET/HFS filesystem with optional
>        Rock Ridge attributes.
>        mkisofs [ options ] [ -o filename ] pathspec [pathspec ...]
>        mkisofs  is  effectively  a  pre-mastering  program  to   generate   an
>        ISO9660/JOLIET/HFS hybrid filesystem.
>        mkisofs  is  capable  of  generating  the  System  Use Sharing Protocol
>        records (SUSP) specified by the Rock Ridge Interchange Protocol.   This
>        is  used  to  further describe the files in the iso9660 filesystem to a
>        unix host, and provides information such as longer filenames,  uid/gid,
>        posix permissions, symbolic links, block and character devices.
> .
> .
> .
> - Nate >>
> -- 
>  Wireless | Amateur Radio Station N0NB          |  Successfully Microsoft
>   Amateur radio exams; ham radio; Linux info @  | free since January 1998.
>              http://www.qsl.net/n0nb/           |  "Debian, the choice of
>              My Kawasaki KZ-650 SR @            |     a GNU generation!"
>         http://www.networksplus.net/n0nb/       |   http://www.debian.org
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.

Reply to: