Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!adm!cmcl2!esquire!esquire.dpw.com From: baumgart@esquire.dpw.com (Steve Baumgarten) Newsgroups: comp.sys.mac.system Subject: Re: 6.0.7 Sound Problems Message-ID: <2770@esquire.dpw.com> Date: 2 Nov 90 22:15:26 GMT References: <11569@spool.cs.wisc.edu> <2116.272d99f3@waikato.ac.nz> Sender: baumgart@DPW.COM Reply-To: baumgart@esquire.dpw.com (Steve Baumgarten) Organization: Davis Polk & Wardwell Lines: 36 In-reply-to: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) In article <2116.272d99f3@waikato.ac.nz>, ldo@waikato (Lawrence D'Oliveiro, Waikato University) writes: >In the one case I've come across so far of a "snd " resource refusing >to play under System 6.0.7, I investigated with ResEdit and found >the that the sound header in the resource had garbage values in some >fields. Changing those fields to more sensible values fixed the problem. >The fields were the loop start, loop end, compression encoding and >base note. > >Disclaimer: I don't use Suitcase (though I sometimes wish I did...), or >Sound Mover. So I don't know if the fix I described above bears any >connection to the problems other people have been having, or the >fixes for them. The description and fix sound exactly right. I've encountered similar problems with some of my "snd " resources under 6.0.7. Worse, sometimes the sounds just don't play; other times the Mac bombs with an "unimplemented trap" error. A solution for those who don't like to fool with ResEdit is to use Sound Mover (I'm using version 1.61c) and simply copy all the sounds from one suitcase into a new suitcase. Sound Mover appears to normalize "snd " resources that have garbage values in the fields in question. The newly copied sounds can then be played successfully under either 6.0.7 or earlier systems. This, of course, raises the question of why the code that plays "snd " resources doesn't first do some sanity checking. It's great that Apple spent the time changing their bomb boxes to print semi-English error messages; however, it would be better if they wrote code that helped avoid those messages in the first place. -- Steve Baumgarten | "New York... when civilization falls apart, Davis Polk & Wardwell | remember, we were way ahead of you." baumgart@esquire.dpw.com | cmcl2!esquire!baumgart | - David Letterman