Re: [SLUG] How do I mount an audio Cd ?
On Sun Mar 13, 2005 at 16:01:49 +1100, Rod Butcher wrote: While I appreciate there is some technical issue involved here, as a PC user I expect a tool (like e.g. ls, nautilus or whatever) that professes to give me a list of files on a storage medium, to do this for all storage media - and to me an audio cd is just that, with one or more files or tracks or whatever on it. In this case I presume it would be trivial to incorporate whatever voodoo cdparanoia uses and make ls display the fact that there is an audio file called xyz on the cd I just loaded. Any mount command would presumably be doing something quite different than what is done for e.g. vfat, but to the user it's all the same. What I'm getting at is, it's what it means to the user that matters, not what's going on behind the scenes. MS grasped this brilliantly. I don't disagree. I was talking from a philosphical point of view -- which is what was asked for by Trent in the email to which I was replying. Now I really don't know much about the details of the track format of audio cds, however I *do* know that cdparanoia goes through a lot of black magic to copy an audio track error free. Thankfully it looks like 2.6.12 might have user-level filesystems, which should make it much easier to implement something such as you describe. Cheers, Benno cheers Rod On Sun, 2005-03-13 at 12:25 +1100, Benno wrote: On Sun Mar 13, 2005 at 01:32:58 +1000, QuantumG wrote: Jeff Waugh wrote: Windows is lying a little bit, to give you a nicer interface. Audio CDs are not like data CDs, and cannot be mounted. From a purely philosophical point of view, what would be a good reason for not have a kernel module that mounts audio CDs by interpreting the red book format? Well if you have the philosophy of 'only do it in the kernel if you *have* to', then there is no reason to put it in the kernel, as has already been proven it is able to be done quite well at user level. Seems kind of silly to have code at the application level doing this low level interpretation. From my p.o.v it seems silly to have thi kind of code in the kernel when clearly it can be done just as well at user-level. Benno -- --- Brought to you by a penguin, a gnu and a camel -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How do I mount an audio Cd ?
Rod Butcher wrote: I have some audio cds I need to edit. How can I mount them so I can open the audio track in an audio editor, or at least copy the track to .wav ? I get /dev/cdrom: Input/output error mount: /dev/cdrom: can't read superblock if I try to mount it On windows I used to be able to see the audio tracks as files in the file browser. thanks Rod --- Brought to you by a penguin, a gnu and a camel On my redhat9 -based system I have cdparanoia already installed. To rip track 2, you do something like: cdparanoia 2-2 output.wav More options listed on the manpage. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How do I mount an audio Cd ?
quote who=Rod Butcher I have some audio cds I need to edit. How can I mount them so I can open the audio track in an audio editor, or at least copy the track to .wav ? You need to use an CD ripping program, such as Sound Juicer (a GNOME one which I highly recommend - it's very no-nonsense). On windows I used to be able to see the audio tracks as files in the file browser. Windows is lying a little bit, to give you a nicer interface. Audio CDs are not like data CDs, and cannot be mounted. - Jeff -- gnome.conf.au 2005: April 19thhttp://live.gnome.org/Canberra2005 Is Murphy's Law constitutional? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How do I mount an audio Cd ?
Jeff Waugh wrote: Windows is lying a little bit, to give you a nicer interface. Audio CDs are not like data CDs, and cannot be mounted. From a purely philosophical point of view, what would be a good reason for not have a kernel module that mounts audio CDs by interpreting the red book format? Seems kind of silly to have code at the application level doing this low level interpretation. Trent -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How do I mount an audio Cd ?
On Sun, 2005-03-13 at 01:32 +1000, QuantumG wrote: Jeff Waugh wrote: Windows is lying a little bit, to give you a nicer interface. Audio CDs are not like data CDs, and cannot be mounted. From a purely philosophical point of view, what would be a good reason for not have a kernel module that mounts audio CDs by interpreting the red book format? Seems kind of silly to have code at the application level doing this low level interpretation. Well, I actually recall there having been a kernel module to do precisely this. In fact, this page: http://www.ii.pw.edu.pl/~borkowsm/cdfs.htm agrees with me. The issue is that the format of an audio CD isn't quite like other random access filesystems that you'd normally deal with in a kernel module. This page: http://www.xiph.org/paranoia/faq.html#play Has some details about it. Now, that in and of itself doesn't mean you *can't* do it in the kernel, but I'm personally of the opinion that it makes more sense to leave that stuff in userland. There are some userspace filesystems that will do this though. KIO's audiocd: plugin does this really nicely. GnomeVFS has some code to do it in the standard distribution, but it's turned off by default (at least it did the last time I was digging through gnome-vfs code. Good times.). I'm actually pretty sure that's how Windows does it as well. But you were after a philosophical answer, so here goes: Developing stuff in the kernel is harder than developing it in userland (as but one example, I'm stuck using C in the kernel, but I can use the obscure language of my choice in userland). The kernel's job is to provide primitives that make it easy for application developers to get this stuff working. Now, there might be a convenience angle to mounting an audio CD (though I'm not sold on it), but I don't think it really serves as a better application development primitive than a library in this case. So it shouldn't be in the kernel because it can just as easily be elsewhere. HTH, James. -- There is no I in TEAM but there is an i in Ninja -- http://www.ninjaburger.com/sekrit/ signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How do I mount an audio Cd ?
On Sun Mar 13, 2005 at 01:32:58 +1000, QuantumG wrote: Jeff Waugh wrote: Windows is lying a little bit, to give you a nicer interface. Audio CDs are not like data CDs, and cannot be mounted. From a purely philosophical point of view, what would be a good reason for not have a kernel module that mounts audio CDs by interpreting the red book format? Well if you have the philosophy of 'only do it in the kernel if you *have* to', then there is no reason to put it in the kernel, as has already been proven it is able to be done quite well at user level. Seems kind of silly to have code at the application level doing this low level interpretation. From my p.o.v it seems silly to have thi kind of code in the kernel when clearly it can be done just as well at user-level. Benno -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How do I mount an audio Cd ?
While I appreciate there is some technical issue involved here, as a PC user I expect a tool (like e.g. ls, nautilus or whatever) that professes to give me a list of files on a storage medium, to do this for all storage media - and to me an audio cd is just that, with one or more files or tracks or whatever on it. In this case I presume it would be trivial to incorporate whatever voodoo cdparanoia uses and make ls display the fact that there is an audio file called xyz on the cd I just loaded. Any mount command would presumably be doing something quite different than what is done for e.g. vfat, but to the user it's all the same. What I'm getting at is, it's what it means to the user that matters, not what's going on behind the scenes. MS grasped this brilliantly. cheers Rod On Sun, 2005-03-13 at 12:25 +1100, Benno wrote: On Sun Mar 13, 2005 at 01:32:58 +1000, QuantumG wrote: Jeff Waugh wrote: Windows is lying a little bit, to give you a nicer interface. Audio CDs are not like data CDs, and cannot be mounted. From a purely philosophical point of view, what would be a good reason for not have a kernel module that mounts audio CDs by interpreting the red book format? Well if you have the philosophy of 'only do it in the kernel if you *have* to', then there is no reason to put it in the kernel, as has already been proven it is able to be done quite well at user level. Seems kind of silly to have code at the application level doing this low level interpretation. From my p.o.v it seems silly to have thi kind of code in the kernel when clearly it can be done just as well at user-level. Benno -- --- Brought to you by a penguin, a gnu and a camel -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] How do I mount an audio Cd ?
I have some audio cds I need to edit. How can I mount them so I can open the audio track in an audio editor, or at least copy the track to .wav ? I get /dev/cdrom: Input/output error mount: /dev/cdrom: can't read superblock if I try to mount it On windows I used to be able to see the audio tracks as files in the file browser. thanks Rod --- Brought to you by a penguin, a gnu and a camel -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html