I posted this is the RealBasic Forum, but didn't find any answers... So here I am...

This is a part of my app that plays a sound at a certain tempo. Problem is, it doesn't play straight.. It misses beats, some are closer to others it's like the computer's drunk... This is put in a thread who's priority is set to 10, 100 or even 1000.. once it reaches a beat it checks an array to see if it should play a sound:

Here is the example rb file:

http://www.robertcory.com/downloads/counter.zip

Does anyone know a better way to make a beat counter using Microseconds that actually keeps time?

Best,
Cory

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to