Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!ux1.cso.uiuc.edu!cs326ag From: cs326ag@ux1.cso.uiuc.edu (Loren J. Rittle) Newsgroups: comp.sys.next Subject: Re: .snd file format Message-ID: <1991Apr29.165234.4296@ux1.cso.uiuc.edu> Date: 29 Apr 91 16:52:34 GMT Organization: University of Illinois at Urbana Lines: 39 In article <1991Apr29.122700.21641@ux1.cso.uiuc.edu> I wrote: [I am following up my on article because a good amount of info has come in already from one person in the form of a header file, thus I can now decode a .snd file. Thanks to the unnamed person.] >Does anyone know the file format of a .snd file? I have some .snd >files that were recorded with a NeXTStation that I would like to >convert to something I can use on my own machine. Here's what I know >so far [from the head of Quest_for_the_Holy_Grail.snd :-]: >0000: 2E736E64 0000001C 00052432 00000001 .snd......$2.... >0010: 00001F4C 00000001 00000000 7BFC72F8 ...L........{|rx To fill in the header: Magic #: 0x2E736E64 ".snd" (4 bytes) Size of header: 0x0000001C (4 bytes) Size of sound sample: 0x00052432 (4 bytes) Format: 0x00000001 (4 bytes) Rate: 0x00001F4C (4 bytes) # of Channels: 0x00000001 (4 bytes) info: 0x00000000 (at least 4 bytes (4 in this case)) Sound sample: 0x7BFC72F8 ... ... (336946 bytes) Format one is SND_FORMAT_MULAW_8, the final question is how is MULAW_8 different from ULAW_8 as used on the Suns? I know that there is a difference because the ULAW2MySoundFormat translator did not produce anything that sounded close to correct... Anyone know and willing to quickly explain it? As before, I will gladly accept email and summarize in a brief posting as above. Thanks for your time, Loren J. Rittle l-rittle@uiuc.edu -- ``NewTek stated that the Toaster *would* *not* be made to directly support the Mac, at this point Sculley stormed out of the booth...'' --- A scene at the recent MacExpo. Gee, you wouldn't think that an Apple Exec would be so worried about one little Amiga device... Loren J. Rittle l-rittle@uiuc.edu