Sound effect problem


While most of the sound effects generated in as3sfxr sound correct when generated for XNA, every now and then I find one that doesn't sound quite right.
For example, copy/paste this into as3sfxr, and you get a siren like sound effect.
If you use it in XNA SfxrSynth, you get a flat tone. (Something like the test signal that might accompany colorbars in video.)
I've checked and double checked, and the code for Reset and CreateSound are virtually identical to the code from as3sfxr. It's possible that it's a subtle difference between C# and ActionScript, but since I don't understand the algorithms used in generating the sound effects, I'm not sure where to look.
Closed Jan 18, 2011 at 5:52 PM by jessechounard
This issue has been resolved.The synthesizer was using C# floats (32 bits) internally, while the synthesizer in as3sfxr was using the AS3 Number type (64 bits) and this caused the different results.Fixed check in with change set 57304.