philip@hubcap.UUCP (Philip L Harshman) (01/05/89)
I've got a problem and I hope one of the great minds on the net can help. I'm using Randomizer to shuffle the desktop, startup sound and shutdown sound on my Mac. IMHO, anyone with the resources to do so that isn't is missing a big portion of the Mac experience, but that's another argument. I'm using Randomizer along with the Sound INIT and the ShutDown Sound INIT to accomplish this. My problem is that Sound INIT doesn't seem to know what speed to play my digitized sounds at and assumes everything was digitized at 22K. I have a few sounds that were digitized at 11K that I would like to include in my selection, but it just doesn't sound too good to have them played at double speed. I've seen resources in some of the sounds I've gotten (I've collected them from a variety of sources) that seem to tell about the sound; how long it is and what speed it was digitized at. The two in particular I've seen are of type "info" (number 128) and "INFO" (number 1000). The ShutDown Sound INIT seems to recognize at least one of these (I think "info", but I'm not sure), but I can't get anywhere with Sound INIT. I don't mind using ResEdit to hack at resources, but if Sound INIT recognizes a particular information resource, I can't find out what the format is. Can anyone out there help me? Mucho thanks in advance (and even after if you're lucky :-) ). -- Philip Harshman uucp: ... !gatech!hubcap!philip Employed by Clemson University inet: philip@hubcap.clemson.edu although they have no idea that bitnet: philip@clemson I'm doing this. (So don't tell!) phone: (803) 656-3697
leonardr@uxe.cso.uiuc.edu (01/06/89)
philip@hubcap.UUCP(Philip Harshman) writes in comp.sys.mac >I've got a problem and I hope one of the great minds on the net can help. I'm >using Randomizer to shuffle the desktop, startup sound and shutdown sound on >my Mac. IMHO, anyone with the resources to do so that isn't is missing a big >portion of the Mac experience, but that's another argument. I'm using >Randomizer along with the Sound INIT and the ShutDown Sound INIT to accomplish >this. > >My problem is that Sound INIT doesn't seem to know what speed to play my >digitized sounds at and assumes everything was digitized at 22K. I have a >few sounds that were digitized at 11K that I would like to include in my >selection, but it just doesn't sound too good to have them played at double >speed. I've seen resources in some of the sounds I've gotten (I've collected >them from a variety of sources) that seem to tell about the sound; how long it >is and what speed it was digitized at. The two in particular I've seen are >of type "info" (number 128) and "INFO" (number 1000). The ShutDown Sound INIT >seems to recognize at least one of these (I think "info", but I'm not sure), >but I can't get anywhere with Sound INIT. I don't mind using ResEdit to hack >at resources, but if Sound INIT recognizes a particular information resource, >I can't find out what the format is. Can anyone out there help me? Mucho >thanks in advance (and even after if you're lucky :-) ). > You are currect that ShutDownSound INIT is looking for the info resource to tell it at what speed to play the file. The reason that it does this is related to the fact that is looking for datafiles created by either SoundCap or SoundWave (which were the twoi piece of software that went with the Impulse sound digitizer!) The 'info' resource was where the info was stored by these applications. I believe however that the original version of SoundCap did NOT put an info resource into the file and it was assumed to always be 22K which is why SoundINIT works the way it does (it was a REAL early INIT to work with this stuff, while ShutDownSound INIT came later...) The documentation for ShutDownSound INIT includes some info about the 'info' resource and a TMPL for ResEdit to modify it. If your copy of ShutDownSound INIT did not include either the docs or the TMPL, let me know and I will send them to you. Disclaimer: I wrote ShutDownSound INIT, and it's all my fault! +---------------------------------+-----------------------------------+ + + Any thing I say may be taken as + + Leonard Rosenthol + fact, then again you might decide+ + President, LazerWare, inc. + that it really isn't, so you + + + never know, do you?? + + leonardr@uxe.cso.uiuc.edu + + + GEnie: MACgician + MacNET: MACgician + + Delphi: MACgician + AppleLink: D0025 + + + + +---------------------------------+-----------------------------------+