Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
@guy, on Jun 12 2006, 08:02 PM, said in Bizzare bug with X2 speed:
Aha, that's certainly smaller than the 84 byte "Nothing" snd s I was using in a plug.
Oh, the irony!
Thanks Zacha Pedro. That 12-byte snd is awesome. I'll test to make sure it works on OS 9, but assuming it does I already have a use for it.
As for where I got the 42 bytes I listed... I set my OS 9 computer to have no sound input, then used SimpleSound to record silence, opened the resulting file in MoviePlayer (a QuickTime thingy) and copied the smallest section I could to a new sound, which I exported as an 11-KHz 8-bit System 7 sound. I also made a file with twice that length of silence. One snd resource was then 61 bytes and the other 80. I removed the last 19 bytes from the first one, and changed the byte that said how many bytes of sound there are to 00. From my experience, simply using ResEdit to record an snd did not stop the X2 bug, and I didn't have any real sound recording software, and I hadn't studied the makeup of the snd resource as you have. So thank you.
As for what I'm using it for... it's a plug-in called Qold Fusion for Teacup TC. It'll be done as soon as I put your 12 bytes into snd 129.
This post has been edited by Qaanol : 14 June 2006 - 11:19 AM
Well, I commented on the sampling freq since it is 10,257 Hz in your sound, an unusual value (usually it's 11,025, a fourth of 44100), but not a problem otherwise. And don't worry about the makup of 'snd ' resources, it's my duty to sacrifice myself knowing things completely useless for anyone but this community (and besides, I enjoy it ;)).
Unfortunately, I've been having a bit of trouble with ZP's 12-byte sound, in that it isn't preventing the 2x bug properly. I'm using Nova 1.0.9 on MacOS 10.3.9, with QuickTime 7.0.4. I've been testing with AbsoluteMinimum and a weapon that uses Nova's Etheric Wake launcher noise.
The 20-byte version merely causes Nova to crash whenever I try to launch it, with the last entry in the debuglog reading "loading sounds".
Edwards
In that case, it seems 42 is the answer after all.
Ack! I've done some more research, and it appears that non-sampled sounds are unsupported under Carbon, it's incredible it worked on my comp (10.2.8 with QT 6.5) in the first place (I told ya my knowledge was completely obsolete!). So it was the smallest possible sound resource, but now it is Qaanol's. The fact the 12-byte version doesn't work on your machine is probably related to the square wave generator being no longer there (so the sound is no longer considered valid and the bug still happens), as for the crash with the 20-byte one, well, sending an unsupported sound command (the wait one) to an inexistant synthetiser...
Interestingly, this means not only programs, but in fact some system 7 sound files and resources have become unsupported with OSX (such as the simple beep that was in old versions of system software, though not OS9), and only stopped working with Panther and/or QT 7, that might be one of the reasons for so many things suddenly stopping working at the release of Panther...
I say I win for OS9 (can't claim up to 10.2.8 since it shouldn't even have worked up to there), and you Qaanol win for OSX: I'm positive on it, your sound resource is the smallest valid sampled sound resource as I already said, so it is the smallest OSX-supported sound resource. 84 bytes, on the other hand, is definitely overbloat...
This post has been edited by Zacha Pedro : 15 June 2006 - 12:16 PM
@edwards, on Feb 27 2006, 01:53 AM, said in Bizzare bug with X2 speed:
Nova simply objects if it doesn't have a snd 129. Any snd will do, and it can be in either the data folder or the plug-ins folder, but it has to have an RID of 129.
Out of curiosity, what is snd 129 used for?
Anything you want. its a sound that can be attached to the snd of an outfit, weapon, etc.
Nova uses the 'snd ' resource at ID 129 during hyperspace warp up (that is, the part before the actual jump) if x2 is in effect, otherwise it uses the one at ID 128.
This post has been edited by Zacha Pedro : 15 June 2006 - 02:49 PM
Okay, it seems I copied one digit into my notebook wrong. The 29th byte is actually '2B' not '28' as I had originally posted. That, of course, sets the bit-rate to 11,025. It also begs the question of why Nova didn't throw a fit when Edwards typed it in and ended up with a 10,257-Hz snd resource.
Anyway, I fixed my earlier post to have the correct 42 bytes.
This post has been edited by Qaanol : 15 June 2006 - 04:50 PM
@zacha-pedro, on Jun 16 2006, 05:14 AM, said in Bizzare bug with X2 speed:
inexistant
That's an interesting word.
84 bytes, on the other hand, is definitely overbloat...
Heh, that came from me creating the sound in ResEdit by pushing start and stop as quickly as I could
Well, it was discovered that EVNEW doesn't like the 42-byte sound so I tracked down the cause of this and came up with a new smallest sound. Turns out it wants the sound to be at least 34 frames for 8-bit, though I can't imagine why :blink:. Anyway, here we have the 76-byte sound currently set at 4,096 Hz for no particular reason (although I did want to keep the play length short too which is why I didn't go with 0.5 Hz). I think that 80 at offset 9 in Qaanol's sound is telling it that it's mono but this was created with the help of SndSampler which left that byte at 00.
0001 0001 0005 0000 0000 0001 8051 0000 0000 0014 0000 0000 0000 0022 1000 0000 0000 0000 0000 0000 003C 8080 8080 8080 8080 8080 8080 8080 8080 8080 8080 8080 8080 8080 8080 8080 8080 8080
This post has been edited by Guy : 11 March 2007 - 12:07 AM
Well that explains the crash in EVNEW with those sounds in the rEVisited patch. How strange. That crash will be nice to not have anymore.
Yeah, in case you missed my post in the MC topic I have uploaded the patch with these fixed sounds