Sound latency
Posted: Sun Aug 31, 2014 1:07 am
I'm considering moving a Director project to LiveCode. The project involves short sound files in quick succession and thus requires low latency between sounds. I've done some initial testing (MacBook Pro, OS 10.9.4) and results are almost always unsatisfactory: more than .1 second delay between sound files. At one point, though, latency was excellent: almost no delay between sounds. I don't remember doing anything differently at the time. Is this variability just by chance, or did I possibly take the right step(s) by serendipity? Is there a way to ensure good results? I've done a lot of searching on preloading and queueing, but those don't seem to be defined functions. And sounds don't stay loaded. Performance doesn't improve on repeated triggering of the same sound file.
I note some forum posts about improving latency on the iOS side, and that is indeed where I need my new project to go. Must I learn to deploy to an iOS app and implement these schemes to get an idea of how good performance will be? Perhaps a reader has some experience. Is it reasonable to expect latency well below .1 second?
Thanks!
I note some forum posts about improving latency on the iOS side, and that is indeed where I need my new project to go. Must I learn to deploy to an iOS app and implement these schemes to get an idea of how good performance will be? Perhaps a reader has some experience. Is it reasonable to expect latency well below .1 second?
Thanks!