home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / programm / 7239 < prev    next >
Encoding:
Text File  |  1992-11-15  |  2.9 KB  |  55 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!micro-heart-of-gold.mit.edu!uw-beaver!uw-coco!nwnexus!sounds!brianw
  3. From: BrianW@SoundS.WA.com (Brian Willoughby)
  4. Subject: Re: (failing to) read Audio Data from CDROM
  5. Message-ID: <Bxs9BB.M3@sounds.wa.com>
  6. Sender: brianw@sounds.wa.com (Brian Willoughby)
  7. Reply-To: BrianW@SoundS.WA.com
  8. Organization: SoundSoftware, Bellevue, WA, USA
  9. References: <1ds6epINNjil@mailgzrz.TU-Berlin.DE>
  10. Date: Mon, 16 Nov 1992 00:28:23 GMT
  11. Lines: 42
  12.  
  13. Carsten Schultz writes
  14. | BrianW@SoundS.WA.com (Brian Willoughby) writes:
  15. | ..
  16. | > The differences between audio and data CDs are a little more complicated  
  17. | > than that.  The simplest way I can think of explaining it is that audio CDs  
  18. | > are like  
  19. | [what seems a fine description of CD format]
  20. | Sorry, but I think, this copy protection bit stuff (actually two bits, I  
  21. | think) is really true. Isn't there somethind like CDaudio in the  
  22. | fileystems directory? BTW, does anybody have a not copyprotected audio CD?
  23.  
  24. The very last paragraph of my previous posting acknowledges the copy protection  
  25. bit, but that is immaterial to the original problem/question of how to get the  
  26. digital audio data into the NeXT - a problem that I would like to see solved.   
  27. I authored that post while sitting in front of a copy of the N.V. Phillips and  
  28. Sony Corporation specifications for CD Digital Audio, CD-ROM, and CD  
  29. Interactive.
  30.  
  31. I can only speculate about the extent of the support in the CDaudio filesystem  
  32. code, but I can say for a fact that the CPU-541 (the drive used in NeXT's  
  33. CD-ROM drive) will not send any digital audio data to the NeXT through the SCSI  
  34. interface.  I also happen to have a copy of the Sony CDU-541/CDU-6211 SCSI  
  35. Interface Manual and there is no support for reading Digital Audio data.  The  
  36. MODE SELECT command only supports block lengths of 256, 512, 1024, 2048 (CD-ROM  
  37. Mode 1), 2336 (CD-ROM Mode 2), & 2340 bytes of user data.  In order to read  
  38. Digital Audio data into the NeXT, the block size would need to be set to 2352  
  39. bytes, but the manual states that any size not in their list is considered an  
  40. ILLEGAL REQUEST and results in an error.  Perhaps the ROM firmware in the NeXT  
  41. CD could be rewritten to support the transfer of the full block, but the driver  
  42. on the NeXT would probably need to be rewritten as well, and I don't know how  
  43. to do that.
  44.  
  45. I would suppose that the CDaudio filesystem exists merely to allow the NeXT  
  46. operating system to be happy about an audio CD which is inserted in a drive and  
  47. to allow seeking and playback via the audio-specific SCSI commands.  The  
  48. existence of the CDaudio filesystem does not imply that the actual digital  
  49. audio information can be transferred over the SCSI bus.
  50. -- 
  51. Brian Willoughby    Software Design Engineer, BSEE NCSU
  52. BrianW@SoundS.WA.com    Sound Consulting and Signal Processing Software
  53. NeXTmail welcome    - NO EMAIL SOLICITATION without prior permission
  54.