home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / audio / 3190 < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.9 KB  |  42 lines

  1. Newsgroups: comp.sys.amiga.audio
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!eff!news.oc.com!spssig.spss.com!uchinews!ellis!dgc3
  3. From: dgc3@ellis.uchicago.edu (milovan djilas)
  4. Subject: Re: Wanted: .snd to .8svx
  5. Message-ID: <1992Aug26.112727.26134@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: dgc3@midway.uchicago.edu
  8. Organization: Parts of the University of Chicago
  9. References: <zarthac.714736571@camelot>
  10. Date: Wed, 26 Aug 1992 11:27:27 GMT
  11. Lines: 29
  12.  
  13. NeXT sound files come in two flavors, linear-16 and u-law (that's
  14. Greek "mu"-law).  There are a number of utilities to convert the
  15. files, depending on which sort of file you have.  If it's linear-16,
  16. you should use either SOX or a program called n2a, which I could mail
  17. to you if you can't find it anywhere.  If it's u-law, use either
  18. ulawto8svx, SoundZAP, or SOX.  You might have to strip off the first
  19. four bytes of a u-law file to get one of these programs to convert it.
  20. Do this with a text editor that reads and writes 8-bit characters,
  21. such as CED or GNU Emacs, or with a stream processor such as
  22. Unix-style "tail".  If you don't have a true Unix-style tail (i.e.,
  23. implementing head-relative and tail-relative tailing of lines, blocks,
  24. or characters) I can send you one.
  25.  
  26. SoundZAP and SOX are available at finer Amiga FTP sites everywhere.
  27. Check wuarchive or any of amiga.physik.unizh.ch's cohorts.  At
  28. wuarchive, the path used to be /systems/amiga/incoming/audio/* (where
  29. * is some suspicious-looking filename), but it might have since moved
  30. to /systems/amiga/audio/utils or some such spot.
  31.  
  32. If you use SOX on a linear-16 file, you'll have to strip off the
  33. first 24 bytes of the sound file and convert it as raw 16-bit signed
  34. data.  (SOX doesn't know this format yet on its own.)  You'd then have
  35. to load it into a sample editor and adjust the playback rate to
  36. whatever it should have been.
  37.  
  38. --dgc
  39. -- 
  40. dgc3@midway.uchicago.edu
  41. You usually don't want to know.
  42.