Re: Playing audio CDs
On Feb 7, 2009, at 4:19 PM, Polytropon wrote: On Sat, 07 Feb 2009 13:28:46 -0500, Akenner slackwarew...@comcast.net wrote: In order to play an audio CD, you can utilize the cdcontrol command included in the base system: % cdcontrol play Refer to man cdcontrol for further options and eventually how to specify the CD device (if needed). One thing that I don't think I've read but personally encountered. When using cdcontrol, it seems to tell the cd-rom drive to play the disc so it's not really done in software. If the audio cable from the cd-rom drive is not connected to the motherboard you won't get sound. For the vast majority of users this is a non-issue, but it be confusing to figure out. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Playing audio CDs
On Tue, 10 Feb 2009 02:39:17 -0600, Joshua Isom jri...@gmail.com wrote: One thing that I don't think I've read but personally encountered. When using cdcontrol, it seems to tell the cd-rom drive to play the disc so it's not really done in software. If the audio cable from the cd-rom drive is not connected to the motherboard you won't get sound. For the vast majority of users this is a non-issue, but it be confusing to figure out. Well, interesting you mentioned this. I have this audio cable installed and after cdcontrol told the drive to play the audio CD, it is on the CD audio channel of the sound card (and the mixer channel CD, of course). I'm not sure how this is handled via the ATA cable where the CD drive usually is connected, or the SATA calbe, if it's a newer drive. Or, to make it more complicated, when the drive is a SCSI cable; I don't think SCSI transmits audio data via the SCSI cable... At least the drive should show the typical playing activity which can be checked using a headphone on the drive's front connector (if it has one). -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Playing audio CDs
*snipped for polite cleanliness* Thanks to everyone who took the time to help me out here. I think instead of playing CDs I'll just rip them, it seems a WHOLE lot easier, and of course, not having to worry about scratches is a plus ;) I think one MAJOR problem I had yesterday when I was doing all this, was that I had been awake for about 27 hours...Which is more than most Windows boxes. I was trying to remember how to configure hardware because I'm basically spoiled by easy to configure OSs like BSD and Linux, that I literally couldn't remember how to configure stuff. I think you guys can agree to that. Back in like 2000 even, which wasn't THAT long ago, I know for a fact Windows and Linux were both very different, and this wasFreeBSD 4.0? 2000 is a little spacial, it's when I bought my very first FreeBSD PowerPak with FreeBSD 4.0 on CD, the 6 CD set of tools and things, and came with The Complete FreeBSD 3rd edition. Which I still read. Lehey is a great book writer. I think one problem also, is the sheer number of albums I have. I ahve a LOT of CDs, and almost all of them currently have been ripped, and I keep two HDs in my Slackware FTP server (Which may be reinstalled with FreeBSD, which is one reason I was testing how I'd do certain things in BSD) and I have over 30 GBs of music in there. Some albums that are important to me, like my Misfits boxed set, Ramones Discography, and rare Acid Bath Demo stuff, and my complete set of Danzig work (All Misfits, Samhain boxed set, + all Danzig CDs) I have all ripped as both oggVorbis, 128 K MP3s, and 320 K MP3s (I use 128 for my I-Pod because I have a 1 GB model, can't afford the big ones) and 320 I use for my play lists on the computer so I get good sound, and oggorbis was because a while back Linux distros like SUSE couldn't give you MP3 from out of the box, because of the license thing, so I kept ogg for that. It's something that took a LONG time to do and I'll probably just continue on with ripping the rest of my CD collection and putting it all on my FTP server so that each machine I have can play music without all of them losing disk space. Thanks again everyone! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Playing audio CDs
I found in the handbook that I could try this: /sbin/mount /cdrom I then saw this: /dev/cd0: device not configured. Apparently typing /sbin first made it give me a different error message, I'm just trying to find hwo to configure a drive now. would /stand/sysinstall work for this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Playing audio CDs
Akenner slackwarew...@comcast.net writes: I've been searching on the net for like an hour trying to see how to play a CD on FreeBSD, and normally I'd have just tried mounting it, being from the Linux world, but when I first checked to be sure of the proper way, I found mostly info saying not to mount it at all. So now I'm not sure what is the right way to do it. On two machines each having between 1 - 3 drives to play CDs from, I've tried just loading a CD player app and hitting play, but it doesn't find the CD, and on one machine there is only one drive so it can't be the wrong one. None of the pages I found said it was OK to mount it, and so I'm a little confused how you play CDs, and I've used cdplay as root to make sure I had access since the one app said I couldn't access the CD drive, and nothing has happened. How is the normal way of playing a regular audio CD in FreeBSD? See the entry in the FreeBSD FAQ titled Why can I not mount an audio CD? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-AUDIO-CD -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Playing audio CDs
On Sat, 07 Feb 2009 13:28:46 -0500, Akenner slackwarew...@comcast.net wrote: I've been searching on the net for like an hour trying to see how to play a CD on FreeBSD, and normally I'd have just tried mounting it, ??? being from the Linux world, but when I first checked to be sure of the proper way, I found mostly info saying not to mount it at all. What should it be good for mounting an audio CD? It doesn't have an ISO-9660 file system on it. In order to play an audio CD, you can utilize the cdcontrol command included in the base system: % cdcontrol play Refer to man cdcontrol for further options and eventually how to specify the CD device (if needed). So now I'm not sure what is the right way to do it. On two machines each having between 1 - 3 drives to play CDs from, I've tried just loading a CD player app and hitting play, but it doesn't find the CD, and on one machine there is only one drive so it can't be the wrong one. What does % cdcontrol info say about the media you're trying to play? None of the pages I found said it was OK to mount it, and so I'm a little confused how you play CDs, and I've used cdplay as root to make sure I had access since the one app said I couldn't access the CD drive, and nothing has happened. Permissions of the device file? % ll /dev/acd0 crw-rw-r-- 1 root operator0, 105 Feb 7 22:32 /dev/acd0 ^ ^ ^ These are important! How is the normal way of playing a regular audio CD in FreeBSD? As I mentioned, cdcontrol is a very easy way to do this. Of course, there are GUI tools that can be handy, e. g. xcd or whatever comes with KDE or Gnome (if you use this). Keep in mind that, according to FreeBSD's permission concept, you need the +r permission on the device file (see /etc/devfs.conf, /etc/devfs.rules). If you have more than one drive, you can set variables like CDROM to get rid of things like -f /dev/acd[012]. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Playing audio CDs
On Sat, 07 Feb 2009 13:35:56 -0500, Akenner slackwarew...@comcast.net wrote: I found in the handbook that I could try this: /sbin/mount /cdrom I then saw this: /dev/cd0: device not configured. This refers to the fact that the device does not contain an ISO-9660 formatted media. Apparently typing /sbin first made it give me a different error message, I'm just trying to find hwo to configure a drive now. would /stand/sysinstall work for this? No. The device is configured via the /etc/fstab file that controls how to mount the disc, e. g. # DeviceMountpoint FStype Options Dump Pass# # --- - -- - - - /dev/acd0 /cdrom cd9660 ro,noauto 0 0 This will expand your command % mount /cdrom to something like % mount -t cd9660 -o ro /dev/acd0 /cdrom Also, keep in mind the permissions: You need +r for the device, and you have to be the owner of the mount target directory. Furthermore, users must be allowed to mount media which is controlled by the setting vfs.usermount=1 that is to be put into /etc/sysctl.conf. But as I mentioned before, you cannot mount an audio CD; imagine that it's technically impossible. :-) (Of course, this says nothing about that you cannot copy audio tracks, convert them into OGG/Vorbis or duplicate discs 1:1, which is ALL possible.) A final note: I see you're using /dev/cd0 for your CD drive. What about using acd0 instead (if it's an ATAPI drive)? You can specify /dev/cd0 as $CDROM if you've got a SCSI device, but then, due to permissions, I think you need to set proper access rules for the xpt device, too. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Playing audio
On Mon, 2 Oct 2006 16:28:00 +0700 (ICT) Olivier Nicole [EMAIL PROTECTED] wrote: In a C program, how can I play a sound file, what format should I use for that sound file? not entirely sure, but man pcm ( == man 4 sound ) seems to have several pointers, including a link to the OSS API. good luck _ {Beto|Norberto|Numard} Meijome Never attribute to malice what can adequately be explained by incompetence. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing Audio CDs
I got the audio CD to be working fine. Still no luck with the DVD burning in fluxbox. Cannot/do not want to use and KDE or Gnome tools. Anyone has experience with prodvd for xcdroast? Thanks. On 9/1/06, Wei Hu [EMAIL PROTECTED] wrote: mount your CD, change to the mount point, then, for example, issue the command: gmaplyer *.mp3 On 8/31/06, Viswas Nair [EMAIL PROTECTED] wrote: --- Viswas Nair [EMAIL PROTECTED] wrote: I am new to BSD and have mplayer installed (Gmplayer) and I do not see the option to play an Audio CD, only CDs, files and DVDs. How do I get Audio CD's to play? Can they be mounted, if so how? Is there any specific audio alone CD player (GUI based) that you suggest? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing Audio CDs
I use fluxbox :( no kde On 8/31/06, Andriy Babiy [EMAIL PROTECTED] wrote: --- Viswas Nair [EMAIL PROTECTED] wrote: I am new to BSD and have mplayer installed (Gmplayer) and I do not see the option to play an Audio CD, only CDs, files and DVDs. How do I get Audio CD's to play? Can they be mounted, if so how? Is there any specific audio alone CD player (GUI based) that you suggest? KsCD in KDE environment. You don't need to mount an AudioCD. Make sure you connected your CD/DVD device audio output to the sound card. Also, whats the most commonly used or popular CD + DVD burning software used in BSD? Try k3b. I like it. Thanks in advance. Andriy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing Audio CDs
mount your CD, change to the mount point, then, for example, issue the command: gmaplyer *.mp3 On 8/31/06, Viswas Nair [EMAIL PROTECTED] wrote: --- Viswas Nair [EMAIL PROTECTED] wrote: I am new to BSD and have mplayer installed (Gmplayer) and I do not see the option to play an Audio CD, only CDs, files and DVDs. How do I get Audio CD's to play? Can they be mounted, if so how? Is there any specific audio alone CD player (GUI based) that you suggest? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing Audio CDs
--- Viswas Nair [EMAIL PROTECTED] wrote: I am new to BSD and have mplayer installed (Gmplayer) and I do not see the option to play an Audio CD, only CDs, files and DVDs. How do I get Audio CD's to play? Can they be mounted, if so how? Is there any specific audio alone CD player (GUI based) that you suggest? KsCD in KDE environment. You don't need to mount an AudioCD. Make sure you connected your CD/DVD device audio output to the sound card. Also, whats the most commonly used or popular CD + DVD burning software used in BSD? Try k3b. I like it. Thanks in advance. Andriy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing Audio CDs
At 2006-08-10T23:05:40+05:30, Viswas Nair wrote: I am new to BSD and have mplayer installed (Gmplayer) and I do not see the option to play an Audio CD, only CDs, files and DVDs. How do I get Audio CD's to play? Can they be mounted, if so how? Is there any specific audio alone CD player (GUI based) that you suggest? You can use the `audio/xmms-cdread' port. See [Handbook, Chapter 7] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/multimedia.html and Dru Lavigne, `Using sound on FreeBSD', http://www.onlamp.com/pub/a/bsd/2002/09/19/FreeBSD_Basics.html Also, whats the most commonly used or popular CD + DVD burning software used in BSD? Perhaps `cdrecord' from the `sysutils/cdrtools' port. See [Handbook, Section 17.6] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html HTH, Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing Audio CDs
--- Viswas Nair [EMAIL PROTECTED] wrote: I am new to BSD and have mplayer installed (Gmplayer) and I do not see the option to play an Audio CD, only CDs, files and DVDs. How do I get Audio CD's to play? Can they be mounted, if so how? Is there any specific audio alone CD player (GUI based) that you suggest? I think KDE autodetects and plays audio CDs. Did you try it? Also, whats the most commonly used or popular CD + DVD burning software used in BSD? There are quite a few of them. If you want a simple cmd line utility I like cdrdao if u r talking of audio or VCDS. It can also blank CDs. There are any GUI tools like xcdroast, graveman cdrecord... I think cdrecord is the most used backend. May u shud read man cdrecord... Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing audio cd while using atapicam (4.8R)
On Sat, Sep 06, 2003 at 05:47:57PM -0400, Todd Stephens wrote: I have an ATAPI CD writer that I have on /dev/cd0c via atapicam. It works fine for regular data use, but I can't seem to play an audio cd with it. I have tried both xmcd and KsCD under KDE. In both, the device used is the raw device /dev/rcd0c which has the same permissions and ownership as the regular /dev/cd0c device. With xmcd, the audio cd is at least recognized as the correct artist and album name is displayed, but it will not play. Under KsCD, the cd information is not displayed, but it will at least let me push play. The only problem is that the counter stays at 00:00 and no audio comes out. Is there some other procedure that I need to do first to enable the playing of audio cd? I thought about maybe adding /dev/rcd0c to the fstab file, but I don't know if that is the way to go about it. Thank you for any assistance. Set the device in your CD playing software to the ATAPI device, most likely, /dev/acd0. -- Glenn Johnson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing audio cd while using atapicam (4.8R)
On Saturday 06 September 2003 06:54 pm, Glenn Johnson wrote: Set the device in your CD playing software to the ATAPI device, most likely, /dev/acd0. As easy as that. How bizarre. I guess I was going under the assumption that it was similar to the linux ide-scsi emulation where the cd drive was viewed as scsi regardless of application. Than you. It works fine now. -- Todd Stephens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]