My project utilizes brief (< 1 second) sound files in close succession. Sound latency (delay between files) must be very low, and all versions of Director from 6 through MX 2004 have provided excellent performance. Now that I've "upgraded" to 11.5 I find that latency has increased to unacceptable levels. Does anybody know what has changed and what--if any--solutions exist?
Mac PowerBook 2.26 GHz Core 2 Duo
4 GB Ram
OS 10.7.1 (Lion)
the soundDevice: "CoreAudio"
Talking about Director Shockwave and sound latency, the order is the following:
MacroMix > QT3Mix > DirectSound
So if you set _sound.soundDevice = "DirectSound", you'll get the best latency (1-2ms).
Of course, you'll need a decent sound card (Creative Audigy for example).
The main problem is that DirectSound is available on Windows only.
I'd embed a Flash object to handle the audio playback - if you are able to either embed the sound files into the SWF or preload them prior to use then you should get pretty-much instant response when calling each sound.