Hi! this has been probably asked before, but since I don't know how to search the lists (is it possible at all?):
I have built a Flash application in AS3 for making algorithmic music. It's currently acceptable for any music except rhythms, because the timers are not precise enough. I have tried: * onEnterFrame * normal Timer * Very short timer (5ms) in combination with getTimer(). That's my current method, and it's not impressive, but works ok. * 1 sample sound with onSoundComplete, to get a stable 46 ms timer. Doesn't seem to work any better than the others. I have done many tests, traces, and graphs about time deviation. I have the impression that the method I use now has very few milliseconds of error, but maybe the sounds are not started immediately when I tell them to play. Are they maybe aligned to the next frame? Is there any known method for a more precise triggering of samples? I don't need a constant stream of audio, since I'm not synthesizing on real time. I just want a metronome with higher precision. Any ideas? Is this concept about the 100 empty milliseconds at the beginning of the sounds, and using delays still valid today? I haven't tried that one. I also read 8 simultaneous sounds is the limit. Is that so? What happens when you use more? Thanks! =) _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

