cs326ag@ux1.cso.uiuc.edu (Loren J. Rittle) (04/29/91)
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 Magic #: 0x2E736E64 ".snd" (4 bytes) ?: 0x0000001C (4 bytes) Size of sound sample: 0x00052432 (4 bytes) ?: 0x00000001 0x00001F4C 0x00000001 0x00000000 (16 bytes) Sound sample: 0x7BFC72F8 ... ... (336946 bytes) Anyone care to fill in the question marks and explain the encoding scheme for the body of the sound. As this is for educational use, maybe you could just snip a bit out of your on-line manual. I would do it myself but some buffoon here at the University decided that no more guest login on the NeXT can be allowed... (AND because it is so close to the end of the semester no new accounts should be passed out. What a load of...) Send E-Mail and I will summarize to the net. No NeXTmail, only ASCII, for the above reason. ;-) 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
cs326ag@ux1.cso.uiuc.edu (Loren J. Rittle) (04/29/91)
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
dennisg@kgw1.xetron.COM (Dennis Glatting) (05/03/91)
does anyone know how to do .snd<==>.aiff conversion? okay... how? -- ..!uunet!kgw2!dennisg | Dennis P. Glatting dennisg@Xetron.COM | so?