This content has been marked as final. Show 3 replies
Try the following in your message window:
put the soundDevice
Other possibilities are "MacroMix" or "QT3Mix". If it's MacroMix (which
is known for high latency), try using your movie's #prepareMovie handler
to set it to DirectSound.
the soundDevice = "DirectSound"
Something else to be careful of is to ensure all your sound files have
the same sampleRate - if Director has to mix down 2 sounds at different
sample rates this can cause latency. Stick to 11025, 22050 or 44100
Which version of Director are you using and which OS are you running it on?
Checked the persistent soundDevice as you said, and it is running directSound. Both sounds are sampled 22050.
Version is Director MX (2004), running Win2k Pro.
I remember hearing a long time ago that Director always fell far short on sound performance because it didn't take advantage of DirectX and was essentially Mac emulated software, but I thought this problem had since been fixed.
The only other thing I can think of is I'm not using the sound queue properly, but even without pre-caching, the sound files are so small, they shouldn't even be making a dent. Does Director not know enough to keep the sounds stored in RAM?
Director and sounds are bad. You will not get any good latency. I've workt a ton to get good latency with meny channels. (If youre only using channel one you could get ok latency). I would recomend you to get one of the meny sound xtras (such as OpenAL). Youll get better results ith them!