Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: whiz@well.sf.ca.us (Oishii Ichigo) Newsgroups: comp.sys.sun Subject: How to convert Mac sounds to SPARC format? Keywords: Source Message-ID: <1919@brchh104.bnr.ca> Date: 18 Mar 91 17:28:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 9 Approved: Sun-Spots@rice.edu X-Original-Date: 1 Mar 91 21:46:40 GMT X-Sun-Spots-Digest: Volume 10, Issue 48, message 7 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu Has anyone written a program to convert Mac format sounds to SPARC format? They're both 8bit, but the SPARC uses some sort of ulaw encoding. I believe, however that the Mac 8bit bytes are unsigned and the Sun library to convert linear PCM into u-law encoded takes signed bytes. I've tried both interpreting the Mac files as signed and unsigned before u-law encoding them, but they still come out as mush... [[Ed's Note: Use Rich Gopstein's sound2sun program available from the archives on titan. See also v8n202 for more information. -bdg]]