HI guys,
I'm building a musical notation app which moves musical symbols across the screen along with a regular click sound.
The problem I have is that the time of the clock is inconsistent and therefore the animation stutters sometimes and the time between clicks is not regular. I understand that this is due to the phone doing other tasks.
My questions are:
1. Is there a way to make the clock fire more consistently?
2. Can I use the phone's system clock instead of the clock component to get more accurate intervals?
There is no need for a 60ms pause between frames to actually be exactly 60ms. If it works out at 72ms say then that's fin, just as long as it's consistent.
If there is anything else you can suggest that would improve things, I'd be very grateful to hear from you.
Thanks as always and best wishes,
Stuart