home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 10814 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.9 KB

  1. Xref: sparky comp.unix.questions:10814 comp.sources.wanted:4242
  2. Newsgroups: comp.unix.questions,comp.sources.wanted
  3. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!convex!constellation!unx.ucc.okstate.edu!datacomm.ucc.okstate.edu!martin
  4. From: martin@datacomm.ucc.okstate.edu (Martin McCormick)
  5. Subject: Re: Playing CD in workstation A, hearing it in B, Can I?
  6. Message-ID: <1992Sep8.052406.23279@unx.ucc.okstate.edu>
  7. Sender: news@unx.ucc.okstate.edu (USENET News System)
  8. Organization: Oklahoma State University, Stillwater, OK
  9. References: <1992Sep07.133745.14531@dcc.uchile.cl>
  10. Date: Tue, 8 Sep 1992 05:24:06 GMT
  11. Lines: 21
  12.  
  13. if there is a utility that will play a CD on a Sun Sparc, it must be a
  14. pretty sophisticated one.  CD's use 14-bit audio samples encoded with the
  15. Reid-&-Solomon error correcting codes  at a sampling rate of 44.1KHZ for
  16. each channel.  The audio channel on a Sun Sparc is an ISDN telephone 
  17. subscriber IC which operates at a nominal rate of 8 thousand samples per
  18. second.  Its digital samples are actually 12-bit samples, but the I/O works
  19. in 8-bit samples, each one representing the change of audio level which
  20. occurred between the present sample and the one just before it.  The samples
  21. represent logarithmic values rather than linear ones.  This is to give the
  22. chip the ability to handle large ranges of sound level.  The chip is capable
  23. of operating using the Mu-Law or the A-Law method of piece-wise level handling.
  24. In the U.S., ISDN telephones use Mu-Law conversion so the drivers that come
  25. with Sun Sparcs are Mu-law.  Many other countries use A-Law conversion so
  26. the binary sound files should take this into consideration when producing
  27. a stream of samples to be sent to the ISDN chip.
  28.     The bottom line, here, is that any utility to properly do this needs
  29. to be a very sophisticated program.  It will probably also really eat CPU
  30. time if it runs in real-time.
  31.  
  32. Martin McCormick WB5AGZ   Stillwater, OK
  33. O.S.U. Computer Center Data Communications Group
  34.